@hulkapps/app-manager-vue 3.1.20 → 3.1.21
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/dist/app-manager-vue.esm.js +8 -9
- package/dist/app-manager-vue.min.js +1 -1
- package/dist/app-manager-vue.ssr.js +23 -24
- package/dist/hulkapps-app-manager.css +1 -1
- package/dist/hulkapps-app-manager.min.css +1 -1
- package/package.json +1 -1
- package/src/components/Plans/AppManagerSliderPlan.vue +1 -1
- package/src/components/PolarisNew/PlanCardsHighlights.vue +9 -4
package/package.json
CHANGED
|
@@ -396,7 +396,7 @@ export default {
|
|
|
396
396
|
if (this.discount_code !== null) {
|
|
397
397
|
params['discount_code'] = this.discount_code;
|
|
398
398
|
}
|
|
399
|
-
params['frontend_sdk_version'] = "3.1.
|
|
399
|
+
params['frontend_sdk_version'] = "3.1.21"
|
|
400
400
|
let {data} = await axios.get(`${this.app_manager_config.baseUrl}/api/app-manager/plans`, {params: params}).catch(error => {
|
|
401
401
|
console.error(error)
|
|
402
402
|
});
|
|
@@ -142,10 +142,15 @@ export default {
|
|
|
142
142
|
|
|
143
143
|
return this.normalizeSortOrder(a.display_order) - this.normalizeSortOrder(b.display_order);
|
|
144
144
|
})
|
|
145
|
-
.map((feature) =>
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
.map((feature) => {
|
|
146
|
+
const assignedFeature = plan.features[feature.uuid];
|
|
147
|
+
return {
|
|
148
|
+
...feature,
|
|
149
|
+
value: assignedFeature && assignedFeature.value !== undefined
|
|
150
|
+
? assignedFeature.value
|
|
151
|
+
: assignedFeature,
|
|
152
|
+
};
|
|
153
|
+
});
|
|
149
154
|
},
|
|
150
155
|
preparePlanFeatures(plan) {
|
|
151
156
|
const highlights = this.getSortedPlanHighlights(plan);
|