From 963b48eb65bd12fe598b6d9b65aecefba394f9c9 Mon Sep 17 00:00:00 2001 From: Mateusz Russak Date: Wed, 28 Feb 2024 15:43:34 +0100 Subject: [PATCH] chore: default link value --- ui/src/core_components/content/CoreLink.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/core_components/content/CoreLink.vue b/ui/src/core_components/content/CoreLink.vue index e08dba405..95fce0621 100644 --- a/ui/src/core_components/content/CoreLink.vue +++ b/ui/src/core_components/content/CoreLink.vue @@ -23,6 +23,7 @@ export default { url: { name: "URL", type: FieldType.Text, + default: "https://streamsync.cloud", desc: "A valid URL.", options: (ss: Core) => { return Object.fromEntries( @@ -69,7 +70,7 @@ import { inject, computed } from "vue"; const fields = inject(injectionKeys.evaluatedFields); const displayText = computed(() => { - return fields.text.value || fields.url.value || "Link"; + return fields.text.value || fields.url.value; });