@orchestrator-ui/orchestrator-ui-components 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,18 +131,17 @@ export const WfoWorkflowsPage = () => {
131
131
  columnType: ColumnType.DATA,
132
132
  label: t('description'),
133
133
  width: '700px',
134
- renderData: (value, row) =>
135
- value ? (
136
- <WfoMetadataDescriptionField
137
- onSave={(updatedNote) =>
138
- updateWorkflow({
139
- id: row.workflowId,
140
- description: updatedNote,
141
- })
142
- }
143
- description={value}
144
- />
145
- ) : null,
134
+ renderData: (value, row) => (
135
+ <WfoMetadataDescriptionField
136
+ onSave={(updatedNote) =>
137
+ updateWorkflow({
138
+ id: row.workflowId,
139
+ description: updatedNote,
140
+ })
141
+ }
142
+ description={value}
143
+ />
144
+ ),
146
145
  },
147
146
  target: {
148
147
  columnType: ColumnType.DATA,
@@ -18,3 +18,4 @@ export * from './subscriptionList';
18
18
  export * from './subscriptionListSummary';
19
19
  export * from './subscriptionsDropdownOptions';
20
20
  export * from './forms';
21
+ export * from './formFields';
@@ -259,7 +259,7 @@ export interface Step {
259
259
  export interface WorkflowDefinition {
260
260
  workflowId: string;
261
261
  name: string;
262
- description?: string;
262
+ description: string;
263
263
  target: WorkflowTarget;
264
264
  isTask: boolean;
265
265
  products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];
@@ -269,7 +269,7 @@ export interface WorkflowDefinition {
269
269
  export interface TaskDefinition {
270
270
  workflowId: string;
271
271
  name: string;
272
- description?: string;
272
+ description: string;
273
273
  target: WorkflowTarget;
274
274
  isTask: boolean;
275
275
  products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];