Commit 79cd12e0 authored by ZeMKI's avatar ZeMKI

Bugfix network sorting

parent 138bb6bd
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
"dependencies": { "dependencies": {
"@babel/runtime": "^7.9.6", "@babel/runtime": "^7.9.6",
"@mdi/font": "^4.9.95", "@mdi/font": "^4.9.95",
"body-scroll-lock": "^3.0.3",
"buefy": "^0.8.19", "buefy": "^0.8.19",
"child_process": "^1.0.2", "child_process": "^1.0.2",
"core-js": "^3.6.5", "core-js": "^3.6.5",
......
...@@ -679,8 +679,7 @@ ...@@ -679,8 +679,7 @@
, ,
createSections: function() createSections: function()
{ {
console.log("called")
console.log("sorting: "+this.interview.structure.sortingnumber)
if(this.sectionsCreated) if(this.sectionsCreated)
{ {
document.getElementById("centerLabel").remove(); document.getElementById("centerLabel").remove();
...@@ -1250,7 +1249,7 @@ ...@@ -1250,7 +1249,7 @@
self.interview.center_x = self.$refs['sortingContainer' + self.sortingtotal][0].center_x; self.interview.center_x = self.$refs['sortingContainer' + self.sortingtotal][0].center_x;
self.interview.center_y = self.$refs['sortingContainer' + self.sortingtotal][0].center_y; self.interview.center_y = self.$refs['sortingContainer' + self.sortingtotal][0].center_y;
self.createSections(self.divisions); self.createSections(self.divisions);
self.loading = false;
/* /*
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</p> </p>
<a @click="interviewconfirmnextpage" class="bg-red-600 text-white p-2 ml-2" <a @click="interviewconfirmnextpage" class="bg-red-600 text-white p-2 ml-2"
v-if="interviewpage < 2 && postsortQuestions && sorting == sortingtotal"> v-if="interviewpage == 1 && postsortQuestions && sorting == sortingtotal">
{{__('Questions')}} > {{__('Questions')}} >
</a> </a>
<a @click="interviewconfirmnextpage" class="bg-red-600 text-white p-2 ml-2" <a @click="interviewconfirmnextpage" class="bg-red-600 text-white p-2 ml-2"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment