Minor UI-fixes and fix ignore municipality

This commit is contained in:
2019-01-18 14:19:18 +01:00
parent 86486795f6
commit 3fd53aff38
2 changed files with 8 additions and 9 deletions
+3 -3
View File
@@ -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) {