mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 11:50:56 +00:00
UBERF-4631: Fix issue when link preview in activity displayed as #undefined (#4435)
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
This commit is contained in:
parent
5d9ef96f69
commit
c4e92bbf47
@ -63,9 +63,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{#await getData(href) then data}
|
||||
{#if data.number !== undefined && data.title !== undefined}
|
||||
<div class="flex mt-2">
|
||||
<div class="line" style="background-color: {getPlatformColor(7, $themeStore.dark)}" />
|
||||
{#await getData(href) then data}
|
||||
<div class="flex-col">
|
||||
<a class="fs-title mb-1" {href}>#{data.number} {data.title}</a>
|
||||
{#if data.body}
|
||||
@ -98,8 +99,9 @@
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/await}
|
||||
</div>
|
||||
{/if}
|
||||
{/await}
|
||||
|
||||
<style lang="scss">
|
||||
.line {
|
||||
|
Loading…
Reference in New Issue
Block a user