diff --git a/teachertool/src/state/reducer.ts b/teachertool/src/state/reducer.ts index 14e2234725ee..7dff79b9e5eb 100644 --- a/teachertool/src/state/reducer.ts +++ b/teachertool/src/state/reducer.ts @@ -61,7 +61,7 @@ export default function reducer(state: AppState, action: Action): AppState { }; } case "SET_RUBRIC": { - updateStoredRubricAsync(state.rubric, action.rubric); // fire and forget, we don't need to wait for this to finish. + /*await*/ updateStoredRubricAsync(state.rubric, action.rubric); // fire and forget, we don't need to wait for this to finish. return { ...state, rubric: action.rubric, diff --git a/teachertool/src/transforms/tryLoadLastActiveRubricAsync.ts b/teachertool/src/transforms/tryLoadLastActiveRubricAsync.ts index d96f8d07c1f1..e8229cebd8d6 100644 --- a/teachertool/src/transforms/tryLoadLastActiveRubricAsync.ts +++ b/teachertool/src/transforms/tryLoadLastActiveRubricAsync.ts @@ -46,7 +46,7 @@ export async function tryLoadLastActiveRubricAsync() { lastActiveRubric.criteria = lastActiveRubric.criteria.filter(validateCriteriaInstance); if (lastActiveRubric.criteria.length !== initialCriteriaCount) { - postNotification(makeNotification("Some criteria could not be loaded.", 2000)); + postNotification(makeNotification(lf("Some criteria could not be loaded."), 2000)); } dispatch(Actions.setRubric(lastActiveRubric));