pixflow-upgrade-planning 1.1.3 → 1.1.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.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -99,8 +99,8 @@ class PixflowUpgradePlanning extends HTMLElement {
|
|
|
99
99
|
element.remove();
|
|
100
100
|
})
|
|
101
101
|
var off = parseInt(json.off_percentage);
|
|
102
|
-
var single = parseInt(json.single.price);
|
|
103
|
-
var team = parseInt(json.team.price);
|
|
102
|
+
var single = json.single != null ? parseInt(json.single.price) : 0;
|
|
103
|
+
var team = json.team != null ? parseInt(json.team.price) : 0;
|
|
104
104
|
var strSingle = `$${single}`;
|
|
105
105
|
var strTeam = `$${team}`;
|
|
106
106
|
if(off > 0){
|