@webitel/ui-sdk 24.6.44 → 24.6.45
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/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +6 -4
- package/dist/ui-sdk.umd.cjs +13 -13
- package/package.json +1 -1
- package/src/components/wt-table/wt-table.vue +14 -3
package/package.json
CHANGED
|
@@ -227,9 +227,20 @@ export default {
|
|
|
227
227
|
}
|
|
228
228
|
} else {
|
|
229
229
|
// for backwards compatibility
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
|
|
231
|
+
// https://webitel.atlassian.net/browse/WTEL-4634
|
|
232
|
+
// Value for _isSelected must be assigned explicitly.
|
|
233
|
+
// Because allSelected recomputes after each change
|
|
234
|
+
|
|
235
|
+
if (this.isAllSelected) {
|
|
236
|
+
this.data.forEach((item) => {
|
|
237
|
+
item._isSelected = false;
|
|
238
|
+
});
|
|
239
|
+
} else {
|
|
240
|
+
this.data.forEach((item) => {
|
|
241
|
+
item._isSelected = true;
|
|
242
|
+
});
|
|
243
|
+
}
|
|
233
244
|
}
|
|
234
245
|
},
|
|
235
246
|
handleSelection(row, select) {
|