Made file editing only work for onprem (no cloud API yet)
This commit is contained in:
@@ -4079,7 +4079,7 @@ const Admin = (props) => {
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
<IconButton
|
<IconButton
|
||||||
disabled={file.filesize < 100000 && file.status === ("active") && allowedFileTypes.includes(file.filename.split(".")[1]) === true ? false: true}
|
disabled={isCloud || file.filesize < 100000 && file.status === ("active") && allowedFileTypes.includes(file.filename.split(".")[1]) === true ? false: true}
|
||||||
style = {{padding: "6px"}}
|
style = {{padding: "6px"}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setOpenEditor(true)
|
setOpenEditor(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user