From 2fbc037a0c9cfff951bfdefe58548f30924e8538 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Sat, 20 Jul 2024 22:07:22 +0200 Subject: [PATCH] Update IndexPage.vue --- src/Frontend/src/pages/IndexPage.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Frontend/src/pages/IndexPage.vue b/src/Frontend/src/pages/IndexPage.vue index 0ac7c64..5da6e3c 100644 --- a/src/Frontend/src/pages/IndexPage.vue +++ b/src/Frontend/src/pages/IndexPage.vue @@ -72,7 +72,7 @@ const returnPathHeaders = computed(() => { }) const returnPath = computed(() => { - if (!returnPathHeaders.value) { + if (!returnPathHeaders.value || returnPathHeaders.value.length === 0) { return undefined } @@ -84,7 +84,7 @@ const fromHeaders = computed(() => { }) const from = computed(() => { - if (!fromHeaders.value) { + if (!fromHeaders.value || fromHeaders.value.length === 0) { return undefined } @@ -96,7 +96,7 @@ const toHeaders = computed(() => { }) const to = computed(() => { - if (!toHeaders.value) { + if (!toHeaders.value || toHeaders.value.length === 0) { return undefined } @@ -116,7 +116,7 @@ const subjectHeaders = computed(() => { }) const subject = computed(() => { - if (!subjectHeaders.value) { + if (!subjectHeaders.value || subjectHeaders.value.length === 0) { return undefined }