Allowed to change apps that are NOT owned by anyone on frontend

This commit is contained in:
frikky
2021-11-22 20:25:48 +01:00
parent 3152f19ae5
commit d0626b0290
+3 -1
View File
@@ -985,7 +985,9 @@ const Apps = (props) => {
{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}