diff options
author | dartcafe <github@dartcafe.de> | 2021-07-10 10:32:59 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-07-10 10:32:59 +0300 |
commit | 124a4af5f6965b1de6fb1cb3d22251c695ef4348 (patch) | |
tree | 024c5f7f0e5ee746d8c255401adcd4075f45f1bb /src/js | |
parent | 2dd6c974ad37aeac7185fd8de6cdbaf292fa95f7 (diff) |
tidy
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/App.vue | 4 | ||||
-rw-r--r-- | src/js/router.js | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/js/App.vue b/src/js/App.vue index fd1edf51..1a828d90 100644 --- a/src/js/App.vue +++ b/src/js/App.vue @@ -22,9 +22,7 @@ <template> <Content app-name="polls" :style="appStyle" :class="[transitionClass, { 'edit': acl.allowEdit, 'experimental': settings.experimental, 'bgimage': settings.useImage, 'bgcolored': settings.experimental }]"> - <router-view v-if="getCurrentUser()" - name="navigation" - :class="{ 'glassy': settings.glassyNavigation }" /> + <router-view name="navigation" :class="{ 'glassy': settings.glassyNavigation }" /> <router-view /> <router-view v-if="sideBarOpen && $store.state.poll.id && (acl.allowEdit || poll.allowComment)" name="sidebar" diff --git a/src/js/router.js b/src/js/router.js index c4b3fff7..4d87353d 100644 --- a/src/js/router.js +++ b/src/js/router.js @@ -86,10 +86,6 @@ export default new Router({ name: 'vote', }, { - path: '/poll/:token', - redirect: '/s/:token', - }, - { path: '/s/:token', components: { default: Vote, |