Skip to content

Commit 5cda284

Browse files
authored
fix: pass readOnly flag to Header in library authoring page (#2598)
1 parent 436ac31 commit 5cda284

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/library-authoring/LibraryAuthoringPage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ const LibraryAuthoringPage = ({
167167
isLoadingLibraryData,
168168
showOnlyPublished,
169169
extraFilter: contextExtraFilter,
170+
readOnly,
170171
} = useLibraryContext();
171172
const { sidebarItemInfo } = useSidebarContext();
172173

@@ -342,6 +343,7 @@ const LibraryAuthoringPage = ({
342343
title={libraryData.title}
343344
org={libraryData.org}
344345
contextId={libraryId}
346+
readOnly={readOnly}
345347
isLibrary
346348
containerProps={{
347349
size: undefined,

0 commit comments

Comments
 (0)