Hide alterations modal on load if no alterations exist
This commit is contained in:
committed by
Tomaž Jerman
parent
0d19f76f2d
commit
bf154e44c5
@@ -289,6 +289,10 @@ export default {
|
||||
|
||||
return this.$SystemAPI.dalSchemaAlterationList({ batchID }).then(({ set }) => {
|
||||
this.alterations = set
|
||||
|
||||
if (!this.alteration.length) {
|
||||
this.$emit('hide')
|
||||
}
|
||||
}).catch(this.toastErrorHandler(this.$t('notification:module.schemaAlterations.load.error')))
|
||||
.finally(() => {
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user