Restructure config frontend, add user jwt request

This commit is contained in:
Christoph Kluge
2024-07-04 17:30:16 +02:00
parent 614f694777
commit 9d4767539c
10 changed files with 705 additions and 570 deletions

View File

@@ -4,7 +4,9 @@ import Config from './Config.root.svelte'
new Config({
target: document.getElementById('svelte-app'),
props: {
isAdmin: isAdmin
isAdmin: isAdmin,
isApi: isApi,
username: username
},
context: new Map([
['cc-config', clusterCockpitConfig]