From bd66aedd4b67c2ff3fbf951ee7df35f6a5282066 Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Thu, 3 Oct 2024 08:30:17 +0000 Subject: [PATCH] fix: remove change event which doesnt work anymore --- src/components/BatchSearchResultsDetails.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/BatchSearchResultsDetails.vue b/src/components/BatchSearchResultsDetails.vue index 8e685ec441..937739a32b 100644 --- a/src/components/BatchSearchResultsDetails.vue +++ b/src/components/BatchSearchResultsDetails.vue @@ -23,7 +23,7 @@
{{ $t('batchSearch.published') }}
-
+
{{ $t('batchSearch.state') }}
@@ -130,6 +130,14 @@ export default { } }, computed: { + published: { + get() { + return this.batchSearch.published + }, + set(published) { + this.$emit('update:published', published) + } + }, showProjects() { return this.isServer || this.$core.projects.length > 1 }, @@ -181,9 +189,6 @@ export default { const size = humanSize(value) return size === 'unknown' ? '-' : size }, - changePublished(published) { - this.$emit('update:published', published) - }, localeLongDate(date) { return humanLongDate(date, this.$i18n.locale) }