From 57b3f30ea30a2c6794da7995659985a186fcd4ea Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 20 Feb 2020 22:17:24 +0100 Subject: [PATCH] Fix problems ordering when uploading --- client/src/views/Problems.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; -- 2.44.0