Migrate JobSummary and subcomponents

This commit is contained in:
Christoph Kluge
2025-06-13 15:49:51 +02:00
parent b7823cec16
commit 6dde2a1e59
3 changed files with 96 additions and 81 deletions

View File

@@ -18,9 +18,12 @@
import JobFootprintPolar from "./jobsummary/JobFootprintPolar.svelte";
export let job;
export let width = "auto";
export let height = "400px";
/* Svelte 5 Props */
let {
job,
width = "auto",
height = "400px",
} = $props();
const showFootprintTab = !!getContext("cc-config")[`job_view_showFootprint`];
</script>