aboutsummaryrefslogtreecommitdiff
path: root/src/components/side_drawer/side_drawer.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/side_drawer/side_drawer.vue')
-rw-r--r--src/components/side_drawer/side_drawer.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue
index 994ac953..09588767 100644
--- a/src/components/side_drawer/side_drawer.vue
+++ b/src/components/side_drawer/side_drawer.vue
@@ -180,16 +180,16 @@
v-if="currentUser && currentUser.role === 'admin'"
@click="toggleDrawer"
>
- <a
- href="/pleroma/admin/#/login-pleroma"
- target="_blank"
+ <button
+ class="button-unstyled -link -fullwidth"
+ @click.stop="openAdminModal"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="tachometer-alt"
/> {{ $t("nav.administration") }}
- </a>
+ </button>
</li>
<li
v-if="currentUser && supportsAnnouncements"