web/satellite: prevent row action for project owner
This change fixes an issue where users might be able to remove project owners from a project buy clicking the "invisible" row action button on the project owner row. Issue: https://github.com/storj/storj/issues/6345 Change-Id: Ib6f689d65f23539cc3660f72878d6d50fc502e2c
This commit is contained in:
parent
d432a7197a
commit
65f14ec3f5
@ -164,6 +164,9 @@ function deleteClicked() {
|
||||
}
|
||||
|
||||
function toggleDropDown() {
|
||||
if (isProjectOwner.value) {
|
||||
return;
|
||||
}
|
||||
appStore.toggleActiveDropdown(props.model.getEmail());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user