A platform for community discussion. Free, open, simple.
DEV: Remove unused `admin-theme-item` modal (#23233)
Isaac Janzen59569a6e64e4
diff --git a/app/assets/javascripts/admin/addon/templates/modal/admin-theme-item.hbs b/app/assets/javascripts/admin/addon/templates/modal/admin-theme-item.hbsdeleted file mode 100644index e616a3c305c..00000000000--- a/app/assets/javascripts/admin/addon/templates/modal/admin-theme-item.hbs+++ /dev/null@@ -1,26 +0,0 @@-<div class="popular-theme-item">- <div class="popular-theme-name">- {{this.theme.name}}- {{#if this.theme.preview}}- <a- href={{this.theme.preview}}- title="Preview"- rel="noopener noreferrer"- target="_blank"- >{{d-icon "far-eye"}}</a>- {{/if}}- </div>- <div class="popular-theme-buttons">- {{#if this.theme.installed}}- <span>{{i18n "admin.customize.theme.installed"}}</span>- {{else}}- <DButton- @class="btn-small"- @label="admin.customize.theme.install"- @disabled={{this.installDisabled}}- @icon="upload"- @action={{action "installThemeFromList" this.theme.value}}- />- {{/if}}- </div>-</div>\ No newline at end of filediff --git a/app/assets/javascripts/discourse/app/services/modal.js b/app/assets/javascripts/discourse/app/services/modal.jsindex 0e4e076659b..6be55dec1c6 100644--- a/app/assets/javascripts/discourse/app/services/modal.js+++ b/app/assets/javascripts/discourse/app/services/modal.js@@ -46,7 +46,6 @@ const KNOWN_LEGACY_MODALS = ["topic-summary","user-status","admin-reseed",- "admin-theme-item","admin-color-scheme-select-base","admin-form-template-validation-options","admin-staff-action-log-details",