save states on ctrl W

This commit is contained in:
Andrew Gundersen 2021-03-20 10:58:22 -05:00
commit fe44d23453
5 changed files with 31 additions and 42 deletions

View file

@ -29,7 +29,6 @@
import { defineComponent, onMounted, onUnmounted, ref } from 'vue';
import { useIpc } from "@/modules/ipc";
import Splash from "@/components/splash.vue"
import useMessages from '@/modules/messages';
export default defineComponent({
components: { Splash },
@ -43,11 +42,10 @@ export default defineComponent({
// Post navbar action to backend.
const callNavbar = (action: string) => {
console.log("Calling navbar")
invoke('nav-bar', action);
}
const onWindowReady = (_event: any, payload: any) => {
const onWindowReady = (_event: any, _payload: any) => {
ready.value = true;
}