We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0b57f commit dcfe477Copy full SHA for dcfe477
workspaces/orchestrator/.changeset/tough-queens-hope.md
@@ -0,0 +1,5 @@
1
+---
2
+'@red-hat-developer-hub/backstage-plugin-orchestrator': patch
3
4
+
5
+[UI] Empty values section in Results pane should not be rendered
workspaces/orchestrator/plugins/orchestrator/src/components/WorkflowResult.tsx
@@ -286,11 +286,13 @@ const WorkflowOutputs = ({
286
</Grid>
287
)}
288
289
- <Grid item md={12} key="__links" className={styles.values}>
290
- <AboutField label="Values">
291
- <StructuredMetadataTable dense metadata={nonLinks} />
292
- </AboutField>
293
- </Grid>
+ {nonLinks?.length > 0 && (
+ <Grid item md={12} key="__links" className={styles.values}>
+ <AboutField label="Values">
+ <StructuredMetadataTable dense metadata={nonLinks} />
+ </AboutField>
294
+ </Grid>
295
+ )}
296
</>
297
);
298
};
0 commit comments