Skip to content
Snippets Groups Projects
Commit 11aa9368 authored by Kirill Stytsenko's avatar Kirill Stytsenko
Browse files

Close CreateDB dialog after creation

Former-commit-id: 3e38be1a
parent c5ff290c
No related branches found
No related tags found
1 merge request!42Fixed the query service tests
......@@ -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