refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)
This commit is contained in:
committed by
GitHub
parent
639afcd7a5
commit
68cff4c59e
@@ -16,15 +16,15 @@ export default defineComponent({
|
||||
routeHasHistory: false,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
window.history.state ? (this.routeHasHistory = true) : (this.routeHasHistory = false);
|
||||
},
|
||||
methods: {
|
||||
navigateTo() {
|
||||
if (this.routeHasHistory) this.$router.go(-1);
|
||||
else void this.$router.push({ name: VIEWS.TEMPLATES });
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
window.history.state ? (this.routeHasHistory = true) : (this.routeHasHistory = false);
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user