You've already forked AstralRinth
fix: permissions page being displayed
This commit is contained in:
@@ -47,8 +47,10 @@ const navItems = computed(() => {
|
|||||||
projectV3.value?.project_types?.some((type) => ['mod', 'modpack'].includes(type)) &&
|
projectV3.value?.project_types?.some((type) => ['mod', 'modpack'].includes(type)) &&
|
||||||
isStaff(currentMember.value?.user)
|
isStaff(currentMember.value?.user)
|
||||||
|
|
||||||
const hasPermissionsPage = computed(() =>
|
const hasPermissionsPage = computed(
|
||||||
projectV3.value?.project_types?.some((type) => ['modpack'].includes(type)),
|
() =>
|
||||||
|
flags.value.modpackPermissionsPage &&
|
||||||
|
projectV3.value?.project_types?.some((type) => ['modpack'].includes(type)),
|
||||||
)
|
)
|
||||||
|
|
||||||
const items = [
|
const items = [
|
||||||
|
|||||||
Reference in New Issue
Block a user