mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-24 02:25:00 +02:00
Hide activity links for messages in context (#4964)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com> Signed-off-by: Alex Velichko <alex@hardcoreeng.com> Co-authored-by: Alex Velichko <alex@hardcoreeng.com>
This commit is contained in:
co-authored by
Alex Velichko
parent
61263c7ffe
commit
730437e334
+5
-3
@@ -28,13 +28,15 @@
|
||||
export let object: Doc | undefined
|
||||
export let parentObject: Doc | undefined
|
||||
export let label: IntlString | undefined = undefined
|
||||
export let hideLink = false
|
||||
export let isEdited: boolean = false
|
||||
|
||||
let linkData: LinkData | undefined = undefined
|
||||
|
||||
$: void getLinkData(message, object, parentObject, person).then((data) => {
|
||||
linkData = data
|
||||
})
|
||||
$: !hideLink &&
|
||||
getLinkData(message, object, parentObject, person).then((data) => {
|
||||
linkData = data
|
||||
})
|
||||
</script>
|
||||
|
||||
<span class="text-sm lower">
|
||||
|
||||
Reference in New Issue
Block a user