@c8y/ngx-components 1023.82.4 → 1023.83.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.
@@ -31244,7 +31244,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
31244
31244
  }] } });
31245
31245
 
31246
31246
  const CopyDashboardDisabledReason = {
31247
- PERMISSIONS: 'PERMISSIONS',
31248
31247
  WRONG_REFERENCE: 'WRONG_REFERENCE'
31249
31248
  };
31250
31249
  const NEW_DASHBOARD_ROUTER_STATE_PROP = 'newDashboard';
@@ -32111,10 +32110,7 @@ class WidgetsDashboardComponent {
32111
32110
  if (typeof this.isCopyDisabled === 'boolean' || this.isCopyDisabled?.state) {
32112
32111
  return;
32113
32112
  }
32114
- if (this.isCopyDisabled?.reason === CopyDashboardDisabledReason.PERMISSIONS) {
32115
- this.copyDisabledPopoverMsg = gettext$1('To copy this dashboard, contact your administrator to request the necessary permissions.');
32116
- }
32117
- else if (this.isCopyDisabled?.reason === CopyDashboardDisabledReason.WRONG_REFERENCE) {
32113
+ if (this.isCopyDisabled?.reason === CopyDashboardDisabledReason.WRONG_REFERENCE) {
32118
32114
  const viewContext = this.route.parent.snapshot.data?.context;
32119
32115
  if (viewContext) {
32120
32116
  const ctx = viewContext.split('/').shift();