Merge pull request #2957 from matrix-org/t3chguy/invite_perms
Check permission to invite before showing invite buttons/disable them
This commit is contained in:
commit
9b40913838
3 changed files with 21 additions and 2 deletions
|
@ -87,6 +87,11 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
|
||||
.mx_MemberList_invite.mx_AccessibleButton_disabled {
|
||||
background-color: $greyed-fg-color;;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.mx_MemberList_invite span {
|
||||
background-image: url('$(res)/img/feather-customised/user-add.svg');
|
||||
background-repeat: no-repeat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue