🐛 Fixed broken i18n route on toggle

This commit is contained in:
Liyas Thomas
2019-12-11 08:38:26 +05:30
parent e2d7c0225e
commit 945a83625d

View File

@@ -294,9 +294,6 @@ export default {
toggleSetting(key) {
this.settings[key] = !this.settings[key];
this.$store.commit("postwoman/applySetting", [key, this.settings[key]]);
this.$router.replace("/settings", {
force: true
});
}
},
beforeMount() {