From 2182e2dfb2a60c64da987fcc6f44c78d1f184bd4 Mon Sep 17 00:00:00 2001 From: kopzl Date: Thu, 9 Sep 2021 13:02:45 +0200 Subject: [PATCH] feature: add oncall functionality --- src/components/NotificationRuleList.vue | 1 + src/router.ts | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/components/NotificationRuleList.vue b/src/components/NotificationRuleList.vue index c6039d45..51196dbd 100644 --- a/src/components/NotificationRuleList.vue +++ b/src/components/NotificationRuleList.vue @@ -1052,6 +1052,7 @@ export default { }, 300) }, save() { + console.log( this.editedItem.useOnCall) let sTimeStr = null let eTimeStr = null if ( diff --git a/src/router.ts b/src/router.ts index 50d33bae..04949d1e 100644 --- a/src/router.ts +++ b/src/router.ts @@ -109,6 +109,13 @@ export function createRouter(basePath): VueRouter { component: () => import(/* webpackChunkName: 'user' */ './views/OnCall.vue'), meta: {title: 'oncall', requiresAuth: true} }, + { + path: '/oncall', + name: 'oncall', + component: () => + import(/* webpackChunkName: 'user' */ './views/OnCall.vue'), + meta: { title: 'oncall', requiresAuth: true } + }, { path: '/perms', name: 'perms',