implemented editable help

This commit is contained in:
VLE2FE 2020-09-03 10:54:20 +02:00
parent 2dc962c754
commit 1440e9a6fc

View File

@ -44,9 +44,11 @@ export class HelpComponent implements OnInit {
}
deleteHelp() {
this.api.delete('/help/' + this.route, (ignore, ignore) => {
this.api.delete('/help/' + this.route, (ignore, err) => {
if (!err) {
this.content = new HelpModel().deserialize({text: null, level: 'none'});
this.edit = false;
}
});
}
}