@fluxhub/fluxhub-lib 10.0.235 → 10.0.237

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.
@@ -8454,8 +8454,14 @@ class FHGridComponent {
8454
8454
  this.gridOptions.api.setHeaderHeight(this.header_h);
8455
8455
  console.log('setHeaderHeight ', this.enable_copy);
8456
8456
  if (!this.enable_copy) {
8457
- this.gridOptions.sendToClipboard = (v) => { console.log('sendToClipboard |!!!!!!', v); this.clipboard.copy(v.data); if (this.last_copy == v.data)
8458
- return; this.last_copy = v.data; this.sendToClipboard(v, this.gridOptions.api, this.last_copy); };
8457
+ this.gridOptions.sendToClipboard = (v) => {
8458
+ console.log('sendToClipboard |!!!!!!', v);
8459
+ this.clipboard.copy(v.data.split('\n')[0]);
8460
+ if (this.last_copy == v.data)
8461
+ return;
8462
+ this.last_copy = v.data;
8463
+ this.sendToClipboard(v, this.gridOptions.api, this.last_copy);
8464
+ };
8459
8465
  }
8460
8466
  }
8461
8467
  getRowNodeId(item) {