File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
backend/custom_admin/src/components/schedule-builder Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,7 @@ export const Placeholder = ({
8585 } }
8686 >
8787 { isMovingItemLoading && < span > Please wait</ span > }
88- { ! isMovingItemLoading && ! canDrop && < span > Click to add</ span > }
89- { ! isMovingItemLoading && canDrop && < span > Drop here to move</ span > }
88+ { ! isMovingItemLoading && < span > Drop / Add</ span > }
9089 < PlusIcon />
9190 </ div >
9291 ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ export const ScheduleBuilderRoot = ({
2020 } }
2121 >
2222 < AddItemModalProvider >
23- < ScheduleBuilder />
23+ < DjangoAdminLayout >
24+ < ScheduleBuilder />
25+ </ DjangoAdminLayout >
2426 </ AddItemModalProvider >
2527 </ Base >
2628 ) ;
@@ -39,7 +41,7 @@ const ScheduleBuilder = () => {
3941 } = data ?? { conference : { } } ;
4042
4143 return (
42- < DjangoAdminLayout >
44+ < >
4345 { loading && < h2 > Please wait</ h2 > }
4446 { ! loading && error && (
4547 < h2 > Something went wrong. Make sure you have the right permissions.</ h2 >
@@ -52,6 +54,6 @@ const ScheduleBuilder = () => {
5254 < PendingItemsBasket />
5355 </ >
5456 ) }
55- </ DjangoAdminLayout >
57+ </ >
5658 ) ;
5759} ;
You can’t perform that action at this time.
0 commit comments