3
0

Hide alterations modal on load if no alterations exist

This commit is contained in:
Jože Fortun
2023-06-21 13:14:02 +02:00
committed by Tomaž Jerman
parent 0d19f76f2d
commit bf154e44c5

View File

@@ -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