Skip to content

Commit

Permalink
chore: default link value
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Feb 28, 2024
1 parent e624faa commit 963b48e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/core_components/content/CoreLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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;
});
</script>

Expand Down

0 comments on commit 963b48e

Please sign in to comment.