X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FProblems.vue;h=152e455fa46ffdd005f1791d00346a2aee28f30c;hb=57b3f30ea30a2c6794da7995659985a186fcd4ea;hp=eed343ac559b6633974d8b99527fe71d9dd09a83;hpb=f593e88f9ae8bd76d0d8b31108dfe9f079d9777d;p=vchess.git diff --git a/client/src/views/Problems.vue b/client/src/views/Problems.vue index eed343ac..152e455f 100644 --- a/client/src/views/Problems.vue +++ b/client/src/views/Problems.vue @@ -313,7 +313,7 @@ export default { newProblem.id = ret.id; newProblem.uid = this.st.user.id; newProblem.uname = this.st.user.name; - this.problems = this.problems.concat(newProblem); + this.problems = [newProblem].concat(this.problems); this.resetCurProb(); } this.infoMsg = "";