@bexis2/bexis2-core-ui 0.4.79 → 0.4.81

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/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # bexis-core-ui
2
- ## 0.4.79
2
+ ## 0.4.81
3
3
  - Multiselect
4
- - remove groupItem from result, but group stays
5
-
4
+ - check if groupItem is set or not, if true add groupby to output
5
+
6
6
  ## 0.4.78
7
7
  - Fileuploader
8
8
  - after submited add the responce to the event
@@ -120,13 +120,17 @@
120
120
  value = items;
121
121
  }
122
122
  //console.log(value);
123
- groupBy = (item) => item[itemGroup];
123
+ if (itemGroup) {
124
+ groupBy = (item) => item[itemGroup];
125
+ }
124
126
  }
125
127
 
126
128
  if (complexSource && complexTarget && isMulti) {
127
129
  value = t;
128
130
  isLoaded = true;
129
- groupBy = (item) => item[itemGroup];
131
+ if (itemGroup) {
132
+ groupBy = (item) => item[itemGroup];
133
+ }
130
134
  }
131
135
 
132
136
  //b) simple liust and simple model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bexis2/bexis2-core-ui",
3
- "version": "0.4.79",
3
+ "version": "0.4.81",
4
4
  "private": false,
5
5
  "description": "Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).",
6
6
  "keywords": [
@@ -120,13 +120,17 @@
120
120
  value = items;
121
121
  }
122
122
  //console.log(value);
123
- groupBy = (item) => item[itemGroup];
123
+ if (itemGroup) {
124
+ groupBy = (item) => item[itemGroup];
125
+ }
124
126
  }
125
127
 
126
128
  if (complexSource && complexTarget && isMulti) {
127
129
  value = t;
128
130
  isLoaded = true;
129
- groupBy = (item) => item[itemGroup];
131
+ if (itemGroup) {
132
+ groupBy = (item) => item[itemGroup];
133
+ }
130
134
  }
131
135
 
132
136
  //b) simple liust and simple model