File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
packages/studio-ui/src/views Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1212 </div >
1313
1414 <div v-else-if =" courseId" >
15- <course-information :course-id =" courseId" :view-lookup-function =" allCourses.getView " :edit-mode =" 'full'" >
15+ <course-information :course-id =" courseId" :view-lookup-function =" viewLookupFunction " :edit-mode =" 'full'" >
1616 <template #actions >  ; </template >
1717 </course-information >
1818 </div >
@@ -36,6 +36,11 @@ const loading = ref(true);
3636const error = ref <string | null >(null );
3737const courseId = ref <string | null >(null );
3838
39+ // View lookup function with proper context binding
40+ const viewLookupFunction = (viewDescription : any ) => {
41+ return allCourses .getView (viewDescription );
42+ };
43+
3944// Initialize browse view
4045onMounted (async () => {
4146 try {
You can’t perform that action at this time.
0 commit comments