Minor clean up

This commit is contained in:
Scott Idem
2025-06-23 19:03:04 -04:00
parent 2816c09003
commit 357e135451
2 changed files with 4 additions and 4 deletions

View File

@@ -86,8 +86,8 @@ let events_local_data_struct: key_val = {
'show_element__cfg': true,
'show_element__cfg_detail': false,
'theme_mode': 'dark',
'theme_name': 'wintry',
// 'theme_mode': 'dark',
// 'theme_name': 'wintry',
'classes__form': 'border border-surface-200 p-4 space-y-4 rounded-container',
},

View File

@@ -337,8 +337,8 @@ if ($ae_loc?.site_access_key || $ae_loc?.site_domain_access_key) {
}
if ($ae_loc?.site_cfg_json?.theme) {
$ae_loc.theme_name = $ae_loc.site_cfg_json.theme;
if ($ae_loc?.site_cfg_json?.theme_name) {
$ae_loc.theme_name = $ae_loc.site_cfg_json.theme_name;
}
if ($ae_loc?.site_cfg_json?.theme_mode) {
$ae_loc.theme_mode = $ae_loc.site_cfg_json.theme_mode;