A platform for community discussion. Free, open, simple.
FIX: Double footer in install-theme modal (#23503)
Jarek Radosz935625ce2c93
diff --git a/app/assets/javascripts/admin/addon/components/modal/install-theme.hbs b/app/assets/javascripts/admin/addon/components/modal/install-theme.hbsindex b9d55e46bfb..59ac4afb13d 100644--- a/app/assets/javascripts/admin/addon/components/modal/install-theme.hbs+++ b/app/assets/javascripts/admin/addon/components/modal/install-theme.hbs@@ -167,32 +167,30 @@</:body><:footer>{{#unless this.popular}}- <div class="modal-footer">- {{#if this.duplicateRemoteThemeWarning}}- <div class="install-theme-warning">- ⚠️- {{this.duplicateRemoteThemeWarning}}- </div>- {{/if}}- {{#if this.themeCannotBeInstalled}}- <div class="install-theme-warning">- ⚠️- {{this.themeCannotBeInstalled}}- </div>- {{/if}}- <DButton- @action={{this.installTheme}}- @disabled={{this.installDisabled}}- class="btn- {{if this.themeCannotBeInstalled 'btn-danger' 'btn-primary'}}"- @label={{this.submitLabel}}- />- <DButton- class="btn-flat d-modal-cancel"- @action={{@closeModal}}- @label="cancel"- />- </div>+ {{#if this.duplicateRemoteThemeWarning}}+ <div class="install-theme-warning">+ ⚠️+ {{this.duplicateRemoteThemeWarning}}+ </div>+ {{/if}}+ {{#if this.themeCannotBeInstalled}}+ <div class="install-theme-warning">+ ⚠️+ {{this.themeCannotBeInstalled}}+ </div>+ {{/if}}+ <DButton+ @action={{this.installTheme}}+ @disabled={{this.installDisabled}}+ class="btn+ {{if this.themeCannotBeInstalled 'btn-danger' 'btn-primary'}}"+ @label={{this.submitLabel}}+ />+ <DButton+ class="btn-flat d-modal-cancel"+ @action={{@closeModal}}+ @label="cancel"+ />{{/unless}}</:footer></DModal>\ No newline at end of file