sf-i-events 1.0.957 → 1.0.959

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.957",
4
+ "version": "1.0.959",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.js CHANGED
@@ -2696,6 +2696,8 @@ let SfIEvents = class SfIEvents extends LitElement {
2696
2696
  ${lastUpdated}
2697
2697
  </div>
2698
2698
  ` : ''}
2699
+ ${this.finRiskCurrency == event['localcurrency'] ? `<div part="event-min" class="ml-10 d-flex align-center">${event['minlocal']}</div>` : `<div part="event-min" class="ml-10 d-flex align-center">${event['minglobal']}</div>`}
2700
+ ${this.finRiskCurrency == event['localcurrency'] ? `<div part="event-min" class="ml-10 d-flex align-center">${event['maxlocal']}</div>` : `<div part="event-min" class="ml-10 d-flex align-center">${event['maxglobal']}</div>`}
2699
2701
  </div>
2700
2702
  `;
2701
2703
  if (event.concise == null && remarks.length > 0) {
@@ -3403,7 +3405,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3403
3405
  this.maxRiskResidual = tempMaxRiskResidualLocal;
3404
3406
  }
3405
3407
  let showFinRisk = false;
3406
- if (this.selectedFeatures.indexOf('contracts') < 0 && this.selectedFeatures.indexOf('notices') && this.selectedFeatures.indexOf('licenses') < 0 && this.selectedFeatures.indexOf('rcmresources') < 0) {
3408
+ if (this.selectedFeatures.indexOf('contracts') < 0 && this.selectedFeatures.indexOf('notices') && this.selectedFeatures.indexOf('licenses') < 0 && this.selectedFeatures.indexOf('rcmresources') < 0 && this.finRiskCurrency != "") {
3407
3409
  showFinRisk = true;
3408
3410
  }
3409
3411
  //console.log('final risk severities', this.riskSeverityData);
@@ -4949,6 +4949,8 @@ export class SfIEvents extends LitElement {
4949
4949
  ${lastUpdated}
4950
4950
  </div>
4951
4951
  ` : ''}
4952
+ ${this.finRiskCurrency == event['localcurrency'] ? `<div part="event-min" class="ml-10 d-flex align-center">${event['minlocal']}</div>` : `<div part="event-min" class="ml-10 d-flex align-center">${event['minglobal']}</div>`}
4953
+ ${this.finRiskCurrency == event['localcurrency'] ? `<div part="event-min" class="ml-10 d-flex align-center">${event['maxlocal']}</div>` : `<div part="event-min" class="ml-10 d-flex align-center">${event['maxglobal']}</div>`}
4952
4954
  </div>
4953
4955
  `;
4954
4956
 
@@ -5722,7 +5724,7 @@ export class SfIEvents extends LitElement {
5722
5724
  }
5723
5725
 
5724
5726
  let showFinRisk = false
5725
- if (this.selectedFeatures.indexOf('contracts') < 0 && this.selectedFeatures.indexOf('notices') && this.selectedFeatures.indexOf('licenses') < 0 && this.selectedFeatures.indexOf('rcmresources') < 0) {
5727
+ if (this.selectedFeatures.indexOf('contracts') < 0 && this.selectedFeatures.indexOf('notices') && this.selectedFeatures.indexOf('licenses') < 0 && this.selectedFeatures.indexOf('rcmresources') < 0 && this.finRiskCurrency != "") {
5726
5728
  showFinRisk = true
5727
5729
  }
5728
5730
  //console.log('final risk severities', this.riskSeverityData);