mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-13 11:12:32 +00:00
Update Group Management Button
The "✏️ Manage Group " mwc action button in the Groups plugin is updated to the "warning" class. That changes the color from blue to yellow. Easier to differentiate the action.
This commit is contained in:
parent
5fdcdccdb5
commit
77c2bf6b71
@ -2674,9 +2674,9 @@ class GroupManagement extends LitElement {
|
||||
|
||||
renderManageButton(groupObj) {
|
||||
if (groupObj.owner === this.selectedAddress.address) {
|
||||
return html`<mwc-button @click=${() => this.manageGroupOwner(groupObj)}><mwc-icon>create</mwc-icon> ${translate("grouppage.gchange40")}</mwc-button>`
|
||||
return html`<mwc-button class="warning" @click=${() => this.manageGroupOwner(groupObj)}><mwc-icon>create</mwc-icon> ${translate("grouppage.gchange40")}</mwc-button>`
|
||||
} else if (groupObj.isAdmin === true) {
|
||||
return html`<mwc-button @click=${() => this.manageGroupAdmin(groupObj)}><mwc-icon>create</mwc-icon> ${translate("grouppage.gchange40")}</mwc-button>`
|
||||
return html`<mwc-button class="warning" @click=${() => this.manageGroupAdmin(groupObj)}><mwc-icon>create</mwc-icon> ${translate("grouppage.gchange40")}</mwc-button>`
|
||||
} else {
|
||||
return html`<mwc-button @click=${() => this.leaveGroup(groupObj)}><mwc-icon>exit_to_app</mwc-icon> ${translate("grouppage.gchange50")}</mwc-button>`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user