diff --git a/zero.Backoffice.UI/app/components/ui-form.vue b/zero.Backoffice.UI/app/components/ui-form.vue index 5b81e908..235cb077 100644 --- a/zero.Backoffice.UI/app/components/ui-form.vue +++ b/zero.Backoffice.UI/app/components/ui-form.vue @@ -116,12 +116,12 @@ // loads data on creation of the form async load(promise) { - this.setState('loading'); + this.loadingState = 'loading'; const response = await promise(); if (!response.success) { - this.setState('error'); + this.loadingState = 'error'; if (response.errors) { this.loadingError = response.errors[0].message; @@ -130,7 +130,7 @@ } this.canEdit = true; - this.setState('default'); + this.loadingState = 'default'; this.$nextTick(() => { this.$emit('loaded', this); diff --git a/zero.Backoffice.UI/app/components/ui-pick.vue b/zero.Backoffice.UI/app/components/ui-pick.vue index 31bec64b..b086a6ed 100644 --- a/zero.Backoffice.UI/app/components/ui-pick.vue +++ b/zero.Backoffice.UI/app/components/ui-pick.vue @@ -44,7 +44,7 @@
-