file permission

This commit is contained in:
TeamAbronDev
2025-01-02 16:45:39 +03:30
parent a0b4e420e5
commit 4de7aae3c7
2 changed files with 4 additions and 4 deletions

View File

@@ -627,7 +627,7 @@ export default observer(({ channel }: Props) => {
)} )}
</FloatingLayer> </FloatingLayer>
<Base> <Base>
{channel.havePermission("UploadFiles") ? ( {/* {channel.havePermission("UploadFiles") ? ( */}
<FileAction> <FileAction>
<FileUploader <FileUploader
size={24} size={24}
@@ -664,9 +664,9 @@ export default observer(({ channel }: Props) => {
}} }}
/> />
</FileAction> </FileAction>
) : ( {/* ) : (
<ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding /> <ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding />
)} )} */}
<TextAreaAutoSize <TextAreaAutoSize
autoFocus autoFocus
hideBorder hideBorder