diff --git a/app/views/exercises/_editor.html.slim b/app/views/exercises/_editor.html.slim index 4d084332..33eb8e0e 100644 --- a/app/views/exercises/_editor.html.slim +++ b/app/views/exercises/_editor.html.slim @@ -33,7 +33,7 @@ #statusbar.d-flex.justify-content-between 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 i.fa-solid.fa-arrow-down = t('exercises.editor.download')