You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function redirectToParentDirectoryIfInOperations() :void {
18
+
if (route.path.startsWith('/operations/')) {
19
+
router.push(removeLastPathComponent(route.path));
20
+
21
+
}
22
+
}
23
+
24
+
25
+
redirectToParentDirectoryIfInOperations();
26
+
27
+
/*router.afterEach((_to, _from) => {
28
+
redirectToParentDirectoryIfInOperations();
29
+
30
+
});*/
31
+
32
+
</script>
33
+
34
+
<template>
35
+
<ParentLayout>
36
+
<template #default>
37
+
<divclass="not-found-hint"><pclass="error-code">404</p><h1class="error-title">Page not found</h1><pclass="error-hint">That’s a Four-Oh-Four.</p></div><divclass="actions"><buttontype="button"class="action-button">Go back</button><buttontype="button"class="action-button">Take me home</button></div>
0 commit comments