@uipath/apollo-react 3.59.1 → 3.59.2
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.
|
@@ -62,7 +62,7 @@ const StageNodeComponent = (props)=>{
|
|
|
62
62
|
const isReadOnly = !!stageDetails?.isReadOnly;
|
|
63
63
|
const icon = stageDetails?.icon;
|
|
64
64
|
const selectedTaskId = stageDetails?.selectedTaskId;
|
|
65
|
-
const defaultContent = stageDetails?.defaultContent || 'Add first task';
|
|
65
|
+
const defaultContent = stageDetails?.defaultContent || (isReadOnly ? 'No tasks' : 'Add first task');
|
|
66
66
|
const status = execution?.stageStatus?.status;
|
|
67
67
|
const statusLabel = execution?.stageStatus?.label;
|
|
68
68
|
const stageDuration = execution?.stageStatus?.duration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StageNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.tsx"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"StageNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.tsx"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAopBxD,eAAO,MAAM,SAAS,8CA1oBa,cAAc,6CA0oBA,CAAC"}
|
|
@@ -34,7 +34,7 @@ const StageNodeComponent = (props)=>{
|
|
|
34
34
|
const isReadOnly = !!stageDetails?.isReadOnly;
|
|
35
35
|
const icon = stageDetails?.icon;
|
|
36
36
|
const selectedTaskId = stageDetails?.selectedTaskId;
|
|
37
|
-
const defaultContent = stageDetails?.defaultContent || 'Add first task';
|
|
37
|
+
const defaultContent = stageDetails?.defaultContent || (isReadOnly ? 'No tasks' : 'Add first task');
|
|
38
38
|
const status = execution?.stageStatus?.status;
|
|
39
39
|
const statusLabel = execution?.stageStatus?.label;
|
|
40
40
|
const stageDuration = execution?.stageStatus?.duration;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-react",
|
|
3
|
-
"version": "3.59.
|
|
3
|
+
"version": "3.59.2",
|
|
4
4
|
"description": "Apollo Design System - React component library with Material UI theming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -200,8 +200,8 @@
|
|
|
200
200
|
"use-sync-external-store": "^1.2.0",
|
|
201
201
|
"zod": "^4.3.5",
|
|
202
202
|
"zustand": "^5.0.9",
|
|
203
|
-
"@uipath/apollo-
|
|
204
|
-
"@uipath/apollo-
|
|
203
|
+
"@uipath/apollo-wind": "1.3.0",
|
|
204
|
+
"@uipath/apollo-core": "5.7.4"
|
|
205
205
|
},
|
|
206
206
|
"devDependencies": {
|
|
207
207
|
"@lingui/cli": "^5.6.1",
|