save states on ctrl W
This commit is contained in:
parent
deb9f2f84c
commit
fe44d23453
5 changed files with 31 additions and 42 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue