diff --git a/apps/ui/src/views/SpaceUser/Statement.vue b/apps/ui/src/views/SpaceUser/Statement.vue index 158c77c0d..98085efbe 100644 --- a/apps/ui/src/views/SpaceUser/Statement.vue +++ b/apps/ui/src/views/SpaceUser/Statement.vue @@ -28,6 +28,11 @@ const loading = ref(false); const statement = ref(null); const userId = computed(() => route.params.user as string); +const shouldShowSource = computed(() => { + if (!statement.value?.source) return false; + + return statement.value.source in SOURCE_ICONS; +}); async function loadStatement() { loading.value = true; @@ -101,7 +106,7 @@ watchEffect(() => class="text-skin-heading max-w-[592px]" :body="statement.statement" /> -
+

Source