mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-01-24 10:29:06 +01:00
18 lines
426 B
JavaScript
18 lines
426 B
JavaScript
import {} from './header.entrypoint.js'
|
|
import Config from './Config.root.svelte'
|
|
|
|
new Config({
|
|
target: document.getElementById('svelte-app'),
|
|
props: {
|
|
isAdmin: isAdmin,
|
|
isSupport: isSupport,
|
|
isApi: isApi,
|
|
username: username,
|
|
ncontent: ncontent,
|
|
},
|
|
context: new Map([
|
|
['cc-config', clusterCockpitConfig],
|
|
['resampling', resampleConfig]
|
|
])
|
|
})
|