Skip to content

Commit

Permalink
Work for #7078: fix 'sv-file-preview' can't be overriden with showPre…
Browse files Browse the repository at this point in the history
…view: false in Knockout (#7079)
  • Loading branch information
dk981234 committed Oct 6, 2023
1 parent eb3742f commit 1ad67ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/knockout/templates/question-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@
<!-- ko template: { name: 'survey-question-file-video', data: { question: question } } --><!-- /ko -->
<!-- /ko -->
<!-- ko template: { name: 'survey-question-file-clean-button', data: {question: question, showRemoveButton: question.showRemoveButton} } --><!-- /ko -->
<!-- ko if: question.showPreview -->
<!-- ko if: question.koHasValue && question.allowShowPreview -->
<!-- ko if: question.allowShowPreview -->
<!-- ko component: { name: 'sv-file-preview', data: { question: question } } --><!-- /ko -->
<!-- /ko -->
<!-- /ko -->
<!-- ko template: { name: 'survey-question-file-clean-button', data: {question: question, showRemoveButton: question.showRemoveButtonBottom} } --><!-- /ko -->
<!-- ko if: question.fileNavigatorVisible -->
<!-- ko component: { name: 'sv-action-bar', params: { model: question.fileNavigator } } -->
Expand Down

0 comments on commit 1ad67ed

Please sign in to comment.