mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-28 14:19:06 +01:00
16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
import {} from './header.entrypoint.js'
|
|
import Config from './Config.root.svelte'
|
|
|
|
new Config({
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
isAdmin: isAdmin,
|
|
isApi: isApi,
|
|
username: username
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig],
|
|
['resampling', resampleConfig]
|
|
])
|
|
})
|