move the Routes enum to router/routes.ts

+ fix context menu not being normalized
+ fix nav bar padding-right on no sidebar
This commit is contained in:
geoffrey45
2022-12-12 10:41:23 +03:00
committed by Mungai Njoroge
parent cb51107ffd
commit 7f344b51db
22 changed files with 361 additions and 144 deletions
+2
View File
@@ -40,6 +40,8 @@ export default defineStore("context-menu", {
getBoundingClientRect: generateGetBoundingClientRect(e.x, e.y),
} as VirtualElement;
console.log(virtualElement.contextElement)
getContextOptions()
.then((options) => {
this.options = options;