@fluxhub/fluxhub-lib 11.0.2 → 11.0.4

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.
@@ -24283,6 +24283,8 @@ class dati_aggiuntivi_v2 {
24283
24283
  this.m_obj = {};
24284
24284
  this.next_label = "Procedi";
24285
24285
  this.next_label_color = "#ffd740";
24286
+ this.next_back_ground_color = "#000000";
24287
+ this.b_init_next = false;
24286
24288
  this.sort_field = "";
24287
24289
  this.in_carico = false;
24288
24290
  this.wkf_users_roles = "";
@@ -26200,7 +26202,9 @@ class dati_aggiuntivi_v2 {
26200
26202
  if (data.result_data.length > 0) {
26201
26203
  this.next_label = data.result_data[0].next_label;
26202
26204
  this.next_label_color = data.result_data[0].next_label_color;
26205
+ this.next_back_ground_color = data.result_data[0].next_back_ground_color;
26203
26206
  }
26207
+ this.b_init_next = true;
26204
26208
  }
26205
26209
  });
26206
26210
  this.r_count();
@@ -26494,21 +26498,13 @@ wkf_header_bar_v2.decorators = [
26494
26498
  >
26495
26499
  {{prendi_in_carico_lbl | translate}}</button
26496
26500
  ></div>
26497
- <div *ngIf="dt_agg==null">
26498
- <button
26499
- mat-flat-button
26500
- (click)="procedi()"
26501
- *ngIf="(edit_button && procedi_button) && !in_carico"
26502
- color="accent" style="font-weight:bold"
26503
- >
26504
- {{procedi_lbl | translate}}</button>
26505
- </div>
26506
- <div *ngIf="dt_agg!=null">
26501
+
26502
+ <div *ngIf="dt_agg!=null && dt_agg?.b_init_next">
26507
26503
  <button
26508
26504
  mat-flat-button
26509
26505
  (click)="procedi()"
26510
26506
  *ngIf="(edit_button && procedi_button) && !in_carico"
26511
- color="accent" style="font-weight:bold" [style.background-color]="dt_agg?.next_label_color"
26507
+ color="accent" style="font-weight:bold" [style.background-color]="dt_agg?.next_back_ground_color" [style.color]="dt_agg?.next_label_color"
26512
26508
  >
26513
26509
  {{dt_agg?.next_label | translate}}</button>
26514
26510
  </div>