cc-backend/web/frontend/src/job.entrypoint.js
Christoph Kluge 48225662b1 feat: display energy usage in job view
- optional emission constant config line added
2024-09-27 13:45:44 +02:00

18 lines
425 B
JavaScript

import {} from './header.entrypoint.js'
import Job from './Job.root.svelte'
new Job({
target: document.getElementById('svelte-app'),
props: {
dbid: jobInfos.id,
username: username,
authlevel: authlevel,
roles: roles
},
context: new Map([
['cc-config', clusterCockpitConfig],
['resampling', resampleConfig],
['emission', emission]
])
})