Fix download behavior for hidden file tree
This commit fixes a regression from 944b4551
, where the behavior was changed by mistake.
This commit is contained in:
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#statusbar.d-flex.justify-content-between
|
#statusbar.d-flex.justify-content-between
|
||||||
div
|
div
|
||||||
- if !@embed_options[:disable_download] && !@exercise.hide_file_tree?
|
- if !@embed_options[:disable_download] && @exercise.hide_file_tree?
|
||||||
button#download.p-0.border-0.btn-link.visible.bg-body.text-primary
|
button#download.p-0.border-0.btn-link.visible.bg-body.text-primary
|
||||||
i.fa-solid.fa-arrow-down
|
i.fa-solid.fa-arrow-down
|
||||||
= t('exercises.editor.download')
|
= t('exercises.editor.download')
|
||||||
|
Reference in New Issue
Block a user