Skip to content
Snippets Groups Projects
Verified Commit 3e38be1a authored by Kirill Stytsenko's avatar Kirill Stytsenko
Browse files

Close CreateDB dialog after creation

parent 1b94e86f
No related branches found
No related tags found
3 merge requests!81New stable release,!43Merge dev to master,!33Draft: merge dev to master
......@@ -180,7 +180,7 @@ export default {
}
this.loading = false
this.$toast.success(`Database "${res.data.name}" created.`)
// this.$emit('refresh')
this.$emit('close')
await this.$router.push(`/databases/${containerId}/info`)
}
}
......
......@@ -49,7 +49,7 @@
v-model="createDbDialog"
persistent
max-width="640">
<CreateDB @refresh="refresh" />
<CreateDB @close="createDbDialog = false" />
</v-dialog>
</v-card>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment