We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
readOnly
Header
1 parent 85834d1 commit f17820bCopy full SHA for f17820b
1 file changed
src/library-authoring/import-course/CourseImportHomePage.tsx
@@ -34,7 +34,7 @@ const EmptyState = () => (
34
35
export const CourseImportHomePage = () => {
36
const intl = useIntl();
37
- const { libraryId, libraryData } = useLibraryContext();
+ const { libraryId, libraryData, readOnly } = useLibraryContext();
38
const { data: courseImports } = useCourseImports(libraryId);
39
40
if (!courseImports || !libraryData) {
@@ -53,6 +53,7 @@ export const CourseImportHomePage = () => {
53
org={libraryData.org}
54
contextId={libraryId}
55
isLibrary
56
+ readOnly={readOnly}
57
containerProps={{
58
size: undefined,
59
}}
0 commit comments