1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 19:08:21 +00:00

feat: metadata insert property permission bug (#7283)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-12-30 19:00:50 +08:00
committed by GitHub
parent 5d5f2c31f0
commit 324d981420
7 changed files with 16 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ const repoInfo = { encrypted: repoEncrypted, permission: filePerm, is_admin: isR
ReactDom.render(
<I18nextProvider i18n={ i18n } >
<Suspense fallback={<Loading />}>
<MetadataStatusProvider repoID={repoID} currentRepoInfo={repoInfo}>
<MetadataStatusProvider repoID={repoID} repoInfo={repoInfo}>
<CollaboratorsProvider repoID={repoID}>
<TagsProvider repoID={repoID} repoInfo={repoInfo}>
{filePerm === 'rw' ? <SdocEditor /> : <SimpleViewer />}