X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FProblems.vue;h=9ce2b3fe0445a82bbf2d3e320824808d64880e90;hb=9dca2c935cebcaa3817b4f926f482f9cad4c5b53;hp=2d5526d01775c0edb4d401adcfe2735ac1daa9e2;hpb=7617c334b43d2f5fff40cbec72127ed30e5867c0;p=vchess.git diff --git a/client/src/views/Problems.vue b/client/src/views/Problems.vue index 2d5526d0..9ce2b3fe 100644 --- a/client/src/views/Problems.vue +++ b/client/src/views/Problems.vue @@ -371,7 +371,7 @@ export default { data: { prob: this.curproblem }, success: (ret) => { if (edit) { - let editedP = this.problems.find(p => p.id == this.curproblem.id); + let editedP = this.problems["mine"].find(p => p.id == this.curproblem.id); this.copyProblem(this.curproblem, editedP); this.showProblem(editedP); }