ui: enable experimental tape UI if tape.cfg exists

This commit is contained in:
Dietmar Maurer
2021-03-03 08:27:54 +01:00
parent 347cde827b
commit 40bf636b47
6 changed files with 16 additions and 10 deletions

View File

@ -457,6 +457,7 @@ fn get_index(
"CSRFPreventionToken": csrf_token,
"language": lang,
"debug": debug,
"enableTapeUI": api.enable_tape_ui,
});
let (ct, index) = match api.render_template(template_file, &data) {