-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-organized admin panels, add invite panel, add admin nav, and fix u…
…p data table's null filter handling.
- Loading branch information
1 parent
3785908
commit f99ed4f
Showing
8 changed files
with
339 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<template> | ||
<div class="mb-4 flex h-12 justify-center gap-8"> | ||
<nav-bar-item | ||
v-for="item in navItems" | ||
:key="item" | ||
:active="route.name == item" | ||
:label="t(`label.${item}`)" | ||
:link-name="item" | ||
/> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { useI18n } from 'vue-i18n'; | ||
import { useRoute } from 'vue-router'; | ||
import NavBarItem from '@/elements/NavBarItem.vue'; | ||
const { t } = useI18n(); | ||
const navItems = [ | ||
'admin-invite-codes-panel', | ||
'admin-subscriber-panel', | ||
]; | ||
const route = useRoute(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.