X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FProblems.vue;h=152e455fa46ffdd005f1791d00346a2aee28f30c;hb=57b3f30ea30a2c6794da7995659985a186fcd4ea;hp=eed343ac559b6633974d8b99527fe71d9dd09a83;hpb=b638a2e74e947ac30933a1903d1bb78f4886cd45;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 = "";