naprawiona edycja z kołami ratunkowymi

This commit is contained in:
s416122 2020-01-16 21:41:47 +01:00
parent b48cb658d4
commit 2971264e0a
1 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,6 @@ export class TestEditComponent implements OnInit, OnDestroy {
owner: Number = 0;
title: String = '';
permission: Boolean = false;
test: Array<Object> = [];
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;