Check permission to invite before showing invite buttons/disable them

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-05-11 19:45:24 +01:00
parent 3161682836
commit 3cd9c152c2
3 changed files with 21 additions and 2 deletions

View file

@ -87,6 +87,11 @@ limitations under the License.
}
}
.mx_MemberList_invite.mx_AccessibleButton_disabled {
background-color: grey;
cursor: not-allowed;
}
.mx_MemberList_invite span {
background-image: url('$(res)/img/feather-customised/user-add.svg');
background-repeat: no-repeat;