Fixed Doc loading of apps, reverted header field (tbd) and fixed buttons in apps

This commit is contained in:
frikky
2022-07-27 01:00:27 +02:00
parent 4c047e457c
commit 6b07581ce3
9 changed files with 196 additions and 107 deletions
+1 -5
View File
@@ -1018,11 +1018,7 @@ const Apps = (props) => {
{activateButton}
{editNewButton}
{(props.userdata !== undefined &&
(props.userdata.admin === "true" ||
props.userdata.id === selectedApp.owner ||
selectedApp.owner === ""
)) || !selectedApp.generated ? (
{(editNewButton === null && userdata !== undefined && (userdata.admin === "true" || userdata.id === selectedApp.owner || selectedApp.owner === "" )) || !selectedApp.generated ? (
<div>
{editButton}
{downloadButton}