mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 23:58:31 -06:00
lock offset updates
This commit is contained in:
@@ -113,19 +113,17 @@ export default function AssignmentGroupManagement() {
|
|||||||
>
|
>
|
||||||
Update Assignment Groups In Canvas
|
Update Assignment Groups In Canvas
|
||||||
</button>
|
</button>
|
||||||
{applyInCanvas.isPending && <Spinner />}
|
|
||||||
{applyInCanvas.isSuccess && (
|
|
||||||
<div>
|
|
||||||
{
|
|
||||||
"You will need to go to your course assignments page > settings > Assignment Group Weights"
|
|
||||||
}
|
|
||||||
<br />
|
|
||||||
{
|
|
||||||
"and check the 'Weight final grade based on assignment groups' box"
|
|
||||||
}
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
{applyInCanvas.isPending && <Spinner />}
|
||||||
|
{applyInCanvas.isSuccess && (
|
||||||
|
<div>
|
||||||
|
{
|
||||||
|
"You will need to go to your course assignments page > settings > Assignment Group Weights"
|
||||||
|
}
|
||||||
|
<br />
|
||||||
|
{"and check the 'Weight final grade based on assignment groups' box"}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export default function DefaultDueTime() {
|
|||||||
const [settings] = useLocalCourseSettingsQuery();
|
const [settings] = useLocalCourseSettingsQuery();
|
||||||
const updateSettings = useUpdateLocalCourseSettingsMutation();
|
const updateSettings = useUpdateLocalCourseSettingsMutation();
|
||||||
const [haveLockOffset, setHaveLockOffset] = useState(
|
const [haveLockOffset, setHaveLockOffset] = useState(
|
||||||
!!settings.defaultLockHoursOffset
|
typeof settings.defaultLockHoursOffset !== "undefined"
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<div className={settingsBox}>
|
<div className={settingsBox}>
|
||||||
|
|||||||
Reference in New Issue
Block a user