You've already forked AstralRinth
forked from didirus/AstralRinth
Fix settings page error for non-members (#5168)
* Fix settings page error for non-members * prepr
This commit is contained in:
@@ -51,7 +51,7 @@ const navItems = computed(() => {
|
|||||||
|
|
||||||
const showEnvironment =
|
const showEnvironment =
|
||||||
projectV3.value.project_types.some((type) => ['mod', 'modpack'].includes(type)) &&
|
projectV3.value.project_types.some((type) => ['mod', 'modpack'].includes(type)) &&
|
||||||
isStaff(props.currentMember.user)
|
isStaff(props.currentMember?.user)
|
||||||
|
|
||||||
const items = [
|
const items = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user