Minor UI-fixes and fix ignore municipality
This commit is contained in:
@@ -115,9 +115,9 @@
|
||||
.catch(this.ignoreFailed);
|
||||
break;
|
||||
case 'municipality':
|
||||
ignoreMunicipality({name: name}
|
||||
ignoreMunicipality({name: name})
|
||||
.then(this.ignoreSuccess(name))
|
||||
.catch(this.ignoreFailed));
|
||||
.catch(this.ignoreFailed);
|
||||
break;
|
||||
case 'state':
|
||||
ignoreState({name: name})
|
||||
@@ -128,8 +128,8 @@
|
||||
},
|
||||
ignoreSuccess(name) {
|
||||
return () => {
|
||||
this.$Message.success(`${name} har dolts`);
|
||||
this.fetchEvents();
|
||||
this.$Message.success(`${name} har dolts`);
|
||||
}
|
||||
},
|
||||
ignoreFailed(name) {
|
||||
|
||||
Reference in New Issue
Block a user