You've already forked AstralRinth
forked from xxxOFFxxx/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 =
|
||||
projectV3.value.project_types.some((type) => ['mod', 'modpack'].includes(type)) &&
|
||||
isStaff(props.currentMember.user)
|
||||
isStaff(props.currentMember?.user)
|
||||
|
||||
const items = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user