impaktapps-ui-builder 0.0.404 → 0.0.406

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.
@@ -7363,6 +7363,9 @@ const createLayoutFormat = (config) => {
7363
7363
  return data2;
7364
7364
  };
7365
7365
  const flatObjectValueInArray = (config) => {
7366
+ if (config[0].length < 1) {
7367
+ return;
7368
+ }
7366
7369
  const keyName = Object.keys(config[0])[0];
7367
7370
  const data2 = config.map((e) => {
7368
7371
  return e[keyName];
@@ -9349,7 +9352,7 @@ const LineGraph = {
9349
9352
  leftLabel: "Incentive",
9350
9353
  gridHidden: true,
9351
9354
  numHidden: false,
9352
- tooltipDataKey: ["MAMA New Project", "Second", "Third"],
9355
+ tooltipDataKey: ["First", "Second", "Third"],
9353
9356
  axisLeft: true,
9354
9357
  axisBottom: true,
9355
9358
  hideLeftAxisLine: false,
@@ -10944,7 +10947,7 @@ const buildUiSchema = (config) => {
10944
10947
  });
10945
10948
  }
10946
10949
  elements.elements = config.elements.map((e, elemInd) => {
10947
- if (e.type) {
10950
+ if (e.type && e.type !== "date" && e.type !== "dateTime" && e.type !== "amount") {
10948
10951
  return {
10949
10952
  accessorKey: e.name,
10950
10953
  header: e.label || e.name,