diff --git a/packages/client/hmi-client/src/components/drilldown/tera-drilldown-section.vue b/packages/client/hmi-client/src/components/drilldown/tera-drilldown-section.vue index ef8cd1df55..849044efd7 100644 --- a/packages/client/hmi-client/src/components/drilldown/tera-drilldown-section.vue +++ b/packages/client/hmi-client/src/components/drilldown/tera-drilldown-section.vue @@ -40,13 +40,13 @@ footer { header { display: inline-flex; justify-content: space-between; - padding: var(--gap-2) 0; + padding: var(--gap-4) 0; gap: var(--gap-3); } header > div { display: inline-flex; - gap: var(--gap-small); + gap: var(--gap-1); align-items: center; } diff --git a/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-stratified-matrix-preview.vue b/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-stratified-matrix-preview.vue index 34a5844406..a6e0ae7693 100644 --- a/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-stratified-matrix-preview.vue +++ b/packages/client/hmi-client/src/components/model/petrinet/model-configurations/tera-stratified-matrix-preview.vue @@ -18,12 +18,7 @@
diff --git a/packages/client/hmi-client/src/components/workflow/ops/model-from-equations/tera-model-from-equations-drilldown.vue b/packages/client/hmi-client/src/components/workflow/ops/model-from-equations/tera-model-from-equations-drilldown.vue index 307854d64e..099e5a5f76 100644 --- a/packages/client/hmi-client/src/components/workflow/ops/model-from-equations/tera-model-from-equations-drilldown.vue +++ b/packages/client/hmi-client/src/components/workflow/ops/model-from-equations/tera-model-from-equations-drilldown.vue @@ -104,13 +104,7 @@ -
- -
+
@@ -120,7 +114,7 @@
-
-
-
-
Stratify model
-

The model will be stratified with the following settings.

-

- Note: Code has been executed which may not be reflected here. -

-
-
-
-
- +
+
Stratify model
+

The model will be stratified with the following settings.

+

+ Note: Code has been executed which may not be reflected here. +

+
+ + +
diff --git a/packages/client/hmi-client/src/model-representation/mira/mira-util.ts b/packages/client/hmi-client/src/model-representation/mira/mira-util.ts index 826d466f9a..a8dd9af20b 100644 --- a/packages/client/hmi-client/src/model-representation/mira/mira-util.ts +++ b/packages/client/hmi-client/src/model-representation/mira/mira-util.ts @@ -169,7 +169,7 @@ export const extractTemplateMatrix = (templates: MiraTemplate[]) => { const rowNames = extractConceptNames(templates, 'subject'); const colNames = extractConceptNames(templates, 'outcome'); - // Not sure how to parse templates with no subejct or no outcomes + // Not sure how to parse templates with no subject or no outcomes // and interacts with only controllers and itself, return a matrix // with a single row for now - Mar 13, 2024 if (rowNames.length === 0 || colNames.length === 0) { diff --git a/packages/client/hmi-client/src/model-representation/mira/mira.ts b/packages/client/hmi-client/src/model-representation/mira/mira.ts index 28c131ad19..af15b87125 100644 --- a/packages/client/hmi-client/src/model-representation/mira/mira.ts +++ b/packages/client/hmi-client/src/model-representation/mira/mira.ts @@ -260,6 +260,7 @@ export const collapseTemplates = (miraModel: MiraModel) => { if (!tempMatrixMap.has(key)) { tempMatrixMap.set(key, []); } + const originalTemplate = templateMap.get(t.name); tempMatrixMap.get(key)?.push(originalTemplate as MiraTemplate);