diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-05-31 23:16:41 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-05-31 23:16:41 -0500 |
| commit | 300520174b19bf7d86ac3a0251ebc1be43217f35 (patch) | |
| tree | abb3a98c0f5a9308af1a2ad7ea227af746df9ac9 /src | |
| parent | ec96700816ef608ad22c7ebcaeaf51fc4f93b9ae (diff) | |
self-assign incase a PT gets deleted, selected_pt's available labs will be updated instantly!
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/EditorLists.svelte | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/EditorLists.svelte b/src/components/EditorLists.svelte index f68f955..d31a427 100644 --- a/src/components/EditorLists.svelte +++ b/src/components/EditorLists.svelte @@ -53,6 +53,9 @@ map.delete(id); return map; }); + + // Self assignemnt to update `assignedLabs` and `compatibleLabs` + selectedPeerTeacher = selectedPeerTeacher; } function assignLab(id: number) { |
