From 2971264e0a2216779afdceecbb6ddf4563cb41b4 Mon Sep 17 00:00:00 2001 From: s416122 Date: Thu, 16 Jan 2020 21:41:47 +0100 Subject: [PATCH] =?UTF-8?q?naprawiona=20edycja=20z=20ko=C5=82ami=20ratunko?= =?UTF-8?q?wymi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontEnd/src/app/tests/test-edit/test-edit.component.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FrontEnd/src/app/tests/test-edit/test-edit.component.ts b/FrontEnd/src/app/tests/test-edit/test-edit.component.ts index 90dd866..8486481 100644 --- a/FrontEnd/src/app/tests/test-edit/test-edit.component.ts +++ b/FrontEnd/src/app/tests/test-edit/test-edit.component.ts @@ -15,7 +15,6 @@ export class TestEditComponent implements OnInit, OnDestroy { owner: Number = 0; title: String = ''; permission: Boolean = false; - test: Array = []; shown: Boolean = false; @@ -59,7 +58,8 @@ export class TestEditComponent implements OnInit, OnDestroy { question: d[i]['question'], time: d[i]['time'], answers: d[i]['answers'], - points: d[i]['points'] + points: d[i]['points'], + help: d[i]['help'] }, shortcut: short }; @@ -217,7 +217,8 @@ export class TestEditComponent implements OnInit, OnDestroy { time: this.test[i]['content']['time'], answers: this.test[i]['content']['answers'], points: this.test[i]['content']['points'], - id: this.test[i]['content']['id'] + id: this.test[i]['content']['id'], + help: this.test[i]['content']['help'] }); } toSend['body'] = body;