Allowed to change apps that are NOT owned by anyone on frontend
This commit is contained in:
@@ -983,9 +983,11 @@ const Apps = (props) => {
|
|||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
{activateButton}
|
{activateButton}
|
||||||
{(props.userdata !== undefined &&
|
{(props.userdata !== undefined &&
|
||||||
(props.userdata.role === "admin" ||
|
(props.userdata.role === "admin" ||
|
||||||
props.userdata.id === selectedApp.owner)) ||
|
props.userdata.id === selectedApp.owner ||
|
||||||
|
selectedApp.owner === ""
|
||||||
|
)) ||
|
||||||
!selectedApp.generated ? (
|
!selectedApp.generated ? (
|
||||||
<div>
|
<div>
|
||||||
{editButton}
|
{editButton}
|
||||||
|
|||||||
Reference in New Issue
Block a user