mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-09-14 20:52:59 +02:00
15 lines
323 B
JavaScript
15 lines
323 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]
|
|
])
|
|
})
|