More work on The Hub

This commit is contained in:
Scott Idem
2024-02-09 18:38:17 -05:00
parent 7f6f063f00
commit 970e7567fc
2 changed files with 23 additions and 16 deletions

View File

@@ -66,6 +66,7 @@ async function handle_get_data_store_obj_w_code({code, data_type='text'}) {
});
}
// In most cases we are just inserting HTML into the DOM. The Svelte module apps can update the ID's of the elements within if needed.
$: if ($ae_app.hub.ds['hub_site_header']) {
console.log('Hub Site Header:', $ae_app.hub.ds['hub_site_header']);
const site_header_element = document.getElementById('Site-Header');