mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
file permission
This commit is contained in:
2
.env
2
.env
@@ -1,2 +1,2 @@
|
||||
VITE_API_URL=https://peptide.chat/api
|
||||
# VITE_API_URL=http://local.revolt.chat:8000
|
||||
#VITE_API_URL=http://local.revolt.chat:8000
|
||||
|
||||
@@ -627,7 +627,7 @@ export default observer(({ channel }: Props) => {
|
||||
)}
|
||||
</FloatingLayer>
|
||||
<Base>
|
||||
{channel.havePermission("UploadFiles") ? (
|
||||
{/* {channel.havePermission("UploadFiles") ? ( */}
|
||||
<FileAction>
|
||||
<FileUploader
|
||||
size={24}
|
||||
@@ -664,9 +664,9 @@ export default observer(({ channel }: Props) => {
|
||||
}}
|
||||
/>
|
||||
</FileAction>
|
||||
) : (
|
||||
{/* ) : (
|
||||
<ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding />
|
||||
)}
|
||||
)} */}
|
||||
<TextAreaAutoSize
|
||||
autoFocus
|
||||
hideBorder
|
||||
|
||||
Reference in New Issue
Block a user