diff --git a/frontend/src/components/content_value/ContentValueHash.vue b/frontend/src/components/content_value/ContentValueHash.vue index 422b17f..8f65a06 100644 --- a/frontend/src/components/content_value/ContentValueHash.vue +++ b/frontend/src/components/content_value/ContentValueHash.vue @@ -21,7 +21,7 @@ const props = defineProps({ value: Object, }) -const filterOption = computed(() => [ +const filterOption = [ { value: 1, label: i18n.t('field'), @@ -30,7 +30,7 @@ const filterOption = computed(() => [ value: 2, label: i18n.t('value'), }, -]) +] const filterType = ref(1) const connectionStore = useConnectionStore() diff --git a/frontend/src/components/content_value/ContentValueStream.vue b/frontend/src/components/content_value/ContentValueStream.vue index e156c04..b00bf8f 100644 --- a/frontend/src/components/content_value/ContentValueStream.vue +++ b/frontend/src/components/content_value/ContentValueStream.vue @@ -22,7 +22,7 @@ const props = defineProps({ value: Object, }) -const filterOption = computed(() => [ +const filterOption = [ { value: 1, label: i18n.t('field'), @@ -31,7 +31,7 @@ const filterOption = computed(() => [ value: 2, label: i18n.t('value'), }, -]) +] const filterType = ref(1) const connectionStore = useConnectionStore() diff --git a/frontend/src/components/content_value/ContentValueZSet.vue b/frontend/src/components/content_value/ContentValueZSet.vue index 4e194cc..b409ce8 100644 --- a/frontend/src/components/content_value/ContentValueZSet.vue +++ b/frontend/src/components/content_value/ContentValueZSet.vue @@ -22,7 +22,7 @@ const props = defineProps({ value: Object, }) -const filterOption = computed(() => [ +const filterOption = [ { value: 1, label: i18n.t('value'), @@ -31,7 +31,7 @@ const filterOption = computed(() => [ value: 2, label: i18n.t('score'), }, -]) +] const filterType = ref(1) const connectionStore = useConnectionStore()