@tekkare/auriga 0.1.97 → 0.1.98
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/module.json
CHANGED
|
@@ -382,6 +382,13 @@ export default defineComponent({
|
|
|
382
382
|
if (props.preselection_all) {
|
|
383
383
|
add_all();
|
|
384
384
|
} else if (props.default_select && props.default_select.length > 0) {
|
|
385
|
+
if (!element_table_copy.value.some(
|
|
386
|
+
(a) => props.default_select.includes(a)
|
|
387
|
+
)) {
|
|
388
|
+
element_table_copy.value = element_table_copy.value.concat(
|
|
389
|
+
props.default_select
|
|
390
|
+
);
|
|
391
|
+
}
|
|
385
392
|
selected_items.value = props.default_select;
|
|
386
393
|
}
|
|
387
394
|
});
|