Commit 5da095d
authored
[Bugfix:TAGrading] Fully discard changes on click (Submitty#11488)
### Please check if the PR fulfills these requirements:
* [ ] Tests for the changes have been added/updated (if possible)
* [ ] Documentation has been updated/added if relevant
* [ ] Screenshots are attached to Github PR if visual/UI changes were
made
### What is the current behavior?
<!-- List issue if it fixes/closes/implements one using the "Fixes
#<number>" or "Closes #<number>" syntax -->
When clicking to discard changes the component will be closed and the
changes will not be saved, but they are still reflected locally until
refresh.
### What is the new behavior?
When discard is clicked the local data is also reset to show the
component in the state it was before the grader opened it.
### Other information?
<!-- Is this a breaking change? -->
<!-- How did you test -->
Fixes Submitty#107171 parent cd52209 commit 5da095d
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2855 | 2855 | | |
2856 | 2856 | | |
2857 | 2857 | | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
2861 | 2858 | | |
| 2859 | + | |
| 2860 | + | |
2862 | 2861 | | |
2863 | 2862 | | |
2864 | 2863 | | |
| |||
0 commit comments