Skip to content

Commit

Permalink
Merge branch 'thsparks/teacher_tool/store_rubric_in_indexedDb' of htt…
Browse files Browse the repository at this point in the history
…ps://github.com/microsoft/pxt into thsparks/teacher_tool/store_rubric_in_indexedDb
  • Loading branch information
thsparks committed Jan 31, 2024
2 parents 0619155 + d3a95cb commit 8f86a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion teachertool/src/state/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion teachertool/src/transforms/tryLoadLastActiveRubricAsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 8f86a03

Please sign in to comment.