impaktapps-ui-builder 1.0.140 → 1.0.142
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/impaktapps-ui-builder.es.js +3 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -2
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@ export const buildLeaderBoard = (config) => {
|
|
|
37
37
|
if (config.scoreKey) {
|
|
38
38
|
LeaderBoard.config.main.scoreKey = config.scoreKey;
|
|
39
39
|
}
|
|
40
|
-
if(config.
|
|
40
|
+
if(config.isScoreAmount){
|
|
41
41
|
LeaderBoard.config.main.isScoreAmount = config.isScoreAmount === "YES" ? true : false;
|
|
42
42
|
}
|
|
43
43
|
if (config.layout) {
|
|
@@ -374,8 +374,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
374
374
|
getInputField("nameKey", "Key for Name"),
|
|
375
375
|
getInputField("imageKey", "Key for Image"),
|
|
376
376
|
getInputField("scoreKey", "Key for comparing parameter"),
|
|
377
|
-
getRadioInputField("isScoreAmount", "Is
|
|
378
|
-
emptyBox("LeaderBoardEmpty1", { xs: 6, sm: 6, md: 0, lg:
|
|
377
|
+
getRadioInputField("isScoreAmount", "Is score an Amount", ["YES", "No"]),
|
|
378
|
+
emptyBox("LeaderBoardEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 })
|
|
379
379
|
];
|
|
380
380
|
break;
|
|
381
381
|
case "CardSlider":
|