Fixes error where class was not passed to disabled filter items.

This commit is contained in:
Mateus Machado Luna 2018-08-30 11:29:15 -03:00
parent 8b9b6d9c2d
commit eab5bc5bd6
1 changed files with 3 additions and 3 deletions

View File

@ -205,7 +205,7 @@ export default {
isLoadingFilters: false,
isLoadingFilterTypes: false,
isLoadingFilter: false,
iisUpdatingFiltersOrder: false,
isUpdatingFiltersOrder: false,
openedFilterId: '',
formWithErrors: '',
editForms: {},
@ -293,8 +293,8 @@ export default {
}
this.isUpdatingFiltersOrder = true;
this.updateCollectionFiltersOrder({ collectionId: this.collectionId, filtersOrder: filtersOrder })
.then(() => this.isUpdatingFiltersOrder = false)
.catch(() => this.isUpdatingFiltersOrder = false);
.then(() => { this.isUpdatingFiltersOrder = false; })
.catch(() => { this.isUpdatingFiltersOrder = false });
},
updateListOfMetadata() {