Skip to content

Commit 7c07b81

Browse files
committed
feat: add link to admin panel
1 parent 20034e8 commit 7c07b81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/layout/Header.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,9 @@
186186
</div>
187187
<ul id="user-dropdown">
188188
<li v-if="permissionUtils.hasPermission('adminAccess')">
189-
<a href="#">Admin Panel</a>
189+
<router-link :to="{ name: 'GeneralSettings' }">
190+
Admin Panel
191+
</router-link>
190192
</li>
191193
<li v-if="permissionUtils.hasPermission('modAccess') && !permissionUtils.hasPermission('adminAccess')">
192194
<a href="#">Mod Panel</a>

0 commit comments

Comments
 (0)