mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 13:34:33 +00:00
refactor(file-browser): address code review feedback for copy submenu
This commit is contained in:
@@ -176,6 +176,7 @@ export function MobileFileBrowser({
|
||||
confirmArchiveOrRestore,
|
||||
isArchiving,
|
||||
isRestoringArchive,
|
||||
handleCopy,
|
||||
} = useFileActions({
|
||||
teamId,
|
||||
projectId,
|
||||
@@ -537,6 +538,8 @@ export function MobileFileBrowser({
|
||||
archiveStorageEnabled={archiveStorageEnabled}
|
||||
isShareView={isShareView}
|
||||
allowDownload={allowDownload}
|
||||
onCopy={handleCopy}
|
||||
isTeamOwner={canAdmin}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
@@ -600,6 +603,8 @@ export function MobileFileBrowser({
|
||||
archiveStorageEnabled={archiveStorageEnabled}
|
||||
isShareView={isShareView}
|
||||
allowDownload={allowDownload}
|
||||
onCopy={handleCopy}
|
||||
isTeamOwner={canAdmin}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user