Skip to content

Commit 9325f40

Browse files
committed
[BUG] Fix SDLink filter applyTo field, targeting the wrong config field
1 parent 76a51f3 commit 9325f40

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/src/components/editor/EditorField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@
404404
<div v-if="useEditor().getConfig.config.general.configVersion > 26">
405405
<p class="text-sm mb-1 pl-1">Applies To</p>
406406
<CustomSelectControl
407-
v-model="target[identifier].searchMode"
407+
v-model="target[identifier].appliesTo"
408408
class="w-full"
409409
:options="[
410410
{ value: 'DISCORD', label: 'Discord' },

frontend/src/composables/FieldUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const addToArray = (target: any, key: any) => {
2323
replace: "",
2424
searchMode: "CONTAINS",
2525
action: "IGNORE",
26+
appliesTo: "DISCORD",
2627
ignoreConsole: false
2728
} : {
2829
search: "",

0 commit comments

Comments
 (0)