@camunda/camunda-composite-components 0.20.9 → 0.21.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-composite-components",
3
- "version": "0.20.9",
3
+ "version": "0.21.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -242,8 +242,7 @@ export const C3NavigationAppBar = ({ app: appProps, appBar, forwardRef, navbar,
242
242
  const hasAppReadPermission = activeOrg?.permissions?.cluster?.[app]?.read;
243
243
  const clustersToRender = getClustersToRender(clusters ?? [], activeOrg, app);
244
244
  if (clustersToRender?.length === 1 && !enforceDropDown) {
245
- if (currentApp !== app)
246
- element.href = clustersToRender?.[0].endpoints[app];
245
+ element.href = clustersToRender?.[0].endpoints[app];
247
246
  }
248
247
  else if (clustersToRender?.length > 1 ||
249
248
  (enforceDropDown && clustersToRender?.length > 0)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-composite-components",
3
- "version": "0.20.9",
3
+ "version": "0.21.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"