You've already forked AstralRinth
forked from didirus/AstralRinth
Allow users to override the org owner (#1577)
This commit is contained in:
@@ -423,7 +423,7 @@ useSeoMeta({
|
||||
title: 'Modrinth',
|
||||
description,
|
||||
publisher: 'Modrinth',
|
||||
themeColor: [{ color: '#1bd96a' }],
|
||||
themeColor: '#1bd96a',
|
||||
colorScheme: 'dark light',
|
||||
|
||||
// OpenGraph
|
||||
|
||||
@@ -499,9 +499,7 @@
|
||||
<div class="input-group">
|
||||
<button
|
||||
class="iconified-button brand-button"
|
||||
:disabled="
|
||||
(props.currentMember?.permissions & EDIT_MEMBER) !== EDIT_MEMBER || member.is_owner
|
||||
"
|
||||
:disabled="(props.currentMember?.permissions & EDIT_MEMBER) !== EDIT_MEMBER"
|
||||
@click="updateOrgMember(index)"
|
||||
>
|
||||
<SaveIcon />
|
||||
@@ -591,6 +589,8 @@ function initMembers() {
|
||||
returnVal.override = !!foundMember
|
||||
returnVal.oldOverride = !!foundMember
|
||||
|
||||
returnVal.is_owner = partialOrgMember.is_owner
|
||||
|
||||
return returnVal
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user