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:
Wilfred Asomani 2023-10-05 10:35:09 +00:00 committed by Storj Robot
parent d432a7197a
commit 65f14ec3f5

View File

@ -164,6 +164,9 @@ function deleteClicked() {
}
function toggleDropDown() {
if (isProjectOwner.value) {
return;
}
appStore.toggleActiveDropdown(props.model.getEmail());
}