@camunda/ccma-saas-frontend 0.22.8 → 0.22.10
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.
|
@@ -1621,7 +1621,15 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
1621
1621
|
if (syncTabToUrl)
|
|
1622
1622
|
writeClusterDetailsTabToUrl(next);
|
|
1623
1623
|
};
|
|
1624
|
-
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterDetailsPage
|
|
1624
|
+
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterDetailsPage
|
|
1625
|
+
// A new org or cluster resets the tab state. Else a draft of the
|
|
1626
|
+
// old cluster stays open when the new cluster comes from the cache.
|
|
1627
|
+
, {
|
|
1628
|
+
// Show the skeleton only until this cluster loads. A reload after
|
|
1629
|
+
// a change must not unmount the tabs, or an open editor loses its
|
|
1630
|
+
// draft and the page moves under the pointer.
|
|
1631
|
+
loading: (isClusterLoading && cluster?.uuid !== props.clusterId) ||
|
|
1632
|
+
authz.isLoading, padding: props.padding, clusterName: cluster?.name, phaseTag: headerPhaseTag, healthStatus: headerHealthStatus, versionLabel: headerVersionLabel, regionCode: headerRegionCode, isDevelopmentPlan: cluster?.planType?.development, urls: { clusters: urls.clusters }, onNavigateToClusters: () => props.onNavigate?.({ kind: 'clusters', orgId: props.orgId }), menu: {
|
|
1625
1633
|
canRename,
|
|
1626
1634
|
canDelete,
|
|
1627
1635
|
canDuplicate,
|
|
@@ -1638,7 +1646,7 @@ export const C4ClusterDetailsApp = observer((props) => {
|
|
|
1638
1646
|
list: tabs,
|
|
1639
1647
|
desiredTabId: activeTabId,
|
|
1640
1648
|
onChange: handleTabChange,
|
|
1641
|
-
} }), _jsx(Modal, { open: renameOpen, modalHeading: 'Rename cluster', primaryButtonText: 'Rename', secondaryButtonText: 'Cancel', primaryButtonDisabled: clusterMutationBusy ||
|
|
1649
|
+
} }, `${props.orgId}:${props.clusterId}`), _jsx(Modal, { open: renameOpen, modalHeading: 'Rename cluster', primaryButtonText: 'Rename', secondaryButtonText: 'Cancel', primaryButtonDisabled: clusterMutationBusy ||
|
|
1642
1650
|
newClusterName.length === 0 ||
|
|
1643
1651
|
!!cluster?.restoreInProgress, onRequestClose: () => setRenameOpen(false), onRequestSubmit: () => {
|
|
1644
1652
|
void onRename();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/ccma-saas-frontend",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.10",
|
|
4
4
|
"description": "Camunda Composite Components",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"react-markdown": "^8.0.7 || ^10.0.0"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@camunda/ccma-api": "6.4.
|
|
89
|
-
"@camunda/ccma-shared-types": "10.
|
|
88
|
+
"@camunda/ccma-api": "6.4.1",
|
|
89
|
+
"@camunda/ccma-shared-types": "10.12.0",
|
|
90
90
|
"@pactsafe/pactsafe-react-sdk": "2.15.0",
|
|
91
91
|
"cron-parser": "5.10.2",
|
|
92
92
|
"mobx": "6.16.1",
|