From eeb7aa735a847842a001d53aca50ec42557ebd8c Mon Sep 17 00:00:00 2001 From: Kane York Date: Mon, 11 Jan 2021 15:01:55 -0800 Subject: [PATCH] UX: Stop attempts to convert the default theme to a component by removing button Client-side of the fix. --- .../admin/addon/templates/customize-themes-show.hbs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs index 67981efc907..fdb7c1f99bf 100644 --- a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs +++ b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs @@ -290,7 +290,9 @@ {{d-icon "desktop"}}{{i18n "admin.customize.theme.preview"}} {{d-icon "download"}} {{i18n "admin.export_json.button_text"}} - {{d-button action=(action "switchType") label="admin.customize.theme.convert" icon=convertIcon class="btn-default btn-normal" title=convertTooltip}} + {{#unless model.default}} + {{d-button action=(action "switchType") label="admin.customize.theme.convert" icon=convertIcon class="btn-default btn-normal" title=convertTooltip}} + {{/unless}} {{#if model.component}} {{#if model.enabled}}