naprawiona edycja z kołami ratunkowymi
This commit is contained in:
parent
b48cb658d4
commit
2971264e0a
@ -15,7 +15,6 @@ export class TestEditComponent implements OnInit, OnDestroy {
|
|||||||
owner: Number = 0;
|
owner: Number = 0;
|
||||||
title: String = '';
|
title: String = '';
|
||||||
permission: Boolean = false;
|
permission: Boolean = false;
|
||||||
|
|
||||||
test: Array<Object> = [];
|
test: Array<Object> = [];
|
||||||
shown: Boolean = false;
|
shown: Boolean = false;
|
||||||
|
|
||||||
@ -59,7 +58,8 @@ export class TestEditComponent implements OnInit, OnDestroy {
|
|||||||
question: d[i]['question'],
|
question: d[i]['question'],
|
||||||
time: d[i]['time'],
|
time: d[i]['time'],
|
||||||
answers: d[i]['answers'],
|
answers: d[i]['answers'],
|
||||||
points: d[i]['points']
|
points: d[i]['points'],
|
||||||
|
help: d[i]['help']
|
||||||
},
|
},
|
||||||
shortcut: short
|
shortcut: short
|
||||||
};
|
};
|
||||||
@ -217,7 +217,8 @@ export class TestEditComponent implements OnInit, OnDestroy {
|
|||||||
time: this.test[i]['content']['time'],
|
time: this.test[i]['content']['time'],
|
||||||
answers: this.test[i]['content']['answers'],
|
answers: this.test[i]['content']['answers'],
|
||||||
points: this.test[i]['content']['points'],
|
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;
|
toSend['body'] = body;
|
||||||
|
Loading…
Reference in New Issue
Block a user