mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-02-17 15:01:42 +08:00
Add perm check to channels nav entry
This commit is contained in:
parent
7b1dae8726
commit
b5dda569b2
@ -30,7 +30,7 @@ function childRoute(route = ""): string {
|
||||
<ProjectNavItem :to="childRoute('/versions')">
|
||||
{{ i18n.t("project.tabs.versions") }}
|
||||
</ProjectNavItem>
|
||||
<ProjectNavItem :to="childRoute('/channels')">
|
||||
<ProjectNavItem v-if="hasPerms(NamedPermission.EDIT_TAGS)" :to="childRoute('/channels')">
|
||||
{{ i18n.t("project.tabs.channels") }}
|
||||
</ProjectNavItem>
|
||||
<ProjectNavItem v-if="project.topicId" :to="childRoute('/discuss')">
|
||||
|
Loading…
Reference in New Issue
Block a user