Skip to content

Commit 83b2536

Browse files
authored
Merge pull request #21479 from guerler/fix_edit_attributes
[26.0] Fixes select field clipping and filtering
2 parents 1087c19 + 94a7206 commit 83b2536

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

client/src/components/DatasetInformation/DatasetAttributes.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ onMounted(async () => {
230230

231231
<style>
232232
.dataset-attributes {
233+
height: 100%;
233234
overflow-x: hidden;
234235
overflow-y: auto;
235236
}

client/src/components/Form/Elements/FormSelectMany/worker/selectMany.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function useSelectMany({
1717
}) {
1818
// only start a single worker
1919
if (!worker) {
20-
worker = new Worker(new URL("./selectMany.worker.js", import.meta.url));
20+
worker = new Worker(new URL("./selectMany.worker.js", import.meta.url), { type: "module" });
2121
}
2222

2323
workerReferenceCount += 1;

client/src/components/Panels/Common/ToolSearch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ onMounted(() => {
148148
if (props.useWorker) {
149149
// initialize worker
150150
if (!searchWorker.value) {
151-
searchWorker.value = new Worker(new URL("../toolSearch.worker.js", import.meta.url));
151+
searchWorker.value = new Worker(new URL("../toolSearch.worker.js", import.meta.url), { type: "module" });
152152
}
153153
searchWorker.value.onmessage = onMessage;
154154
}

client/src/composables/filter/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { toValue } from "@vueuse/core";
22
import { onScopeDispose, ref, watch } from "vue";
33

44
export function useFilterObjectArray(array, filter, objectFields, asRegex = false) {
5-
const worker = new Worker(new URL("./filter.worker.js", import.meta.url));
5+
const worker = new Worker(new URL("./filter.worker.js", import.meta.url), { type: "module" });
66

77
const filtered = ref([]);
88
filtered.value = toValue(array);

0 commit comments

Comments
 (0)