@fluxhub/fluxhub-lib 11.0.2 → 11.0.3

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,7 +26498,7 @@ wkf_header_bar_v2.decorators = [
26494
26498
  >
26495
26499
  {{prendi_in_carico_lbl | translate}}</button
26496
26500
  ></div>
26497
- <div *ngIf="dt_agg==null">
26501
+ <div *ngIf="dt_agg?.b_init_next">
26498
26502
  <button
26499
26503
  mat-flat-button
26500
26504
  (click)="procedi()"
@@ -26503,12 +26507,12 @@ wkf_header_bar_v2.decorators = [
26503
26507
  >
26504
26508
  {{procedi_lbl | translate}}</button>
26505
26509
  </div>
26506
- <div *ngIf="dt_agg!=null">
26510
+ <div *ngIf="dt_agg!=null && dt_agg?.b_init_next">
26507
26511
  <button
26508
26512
  mat-flat-button
26509
26513
  (click)="procedi()"
26510
26514
  *ngIf="(edit_button && procedi_button) && !in_carico"
26511
- color="accent" style="font-weight:bold" [style.background-color]="dt_agg?.next_label_color"
26515
+ color="accent" style="font-weight:bold" [style.background-color]="dt_agg?.next_back_ground_color" [style.color]="dt_agg?.next_label_color"
26512
26516
  >
26513
26517
  {{dt_agg?.next_label | translate}}</button>
26514
26518
  </div>