mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-18 14:23:36 +00:00
Remove mention extra (#2726)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
3cfd9f14b1
commit
b6980f307e
@ -87,7 +87,6 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{:else if node.nodeName === 'SPAN'}
|
{:else if node.nodeName === 'SPAN'}
|
||||||
<span style={node.getAttribute('style')}>
|
<span style={node.getAttribute('style')}>
|
||||||
<svelte:self nodes={node.childNodes} />
|
|
||||||
{#if node.getAttribute('data-objectclass') !== undefined && node.getAttribute('data-id') !== undefined}
|
{#if node.getAttribute('data-objectclass') !== undefined && node.getAttribute('data-id') !== undefined}
|
||||||
<Component
|
<Component
|
||||||
is={view.component.ObjectPresenter}
|
is={view.component.ObjectPresenter}
|
||||||
@ -100,6 +99,8 @@
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
{:else}
|
||||||
|
<svelte:self nodes={node.childNodes} />
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
{:else if node.nodeName === 'TABLE'}
|
{:else if node.nodeName === 'TABLE'}
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
$: handlePersonEdit = onEmployeeEdit ?? onEdit
|
$: handlePersonEdit = onEmployeeEdit ?? onEdit
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div bind:this={container}>
|
<div bind:this={container} class="flex-presenter inline-presenter">
|
||||||
<PersonPresenter
|
<PersonPresenter
|
||||||
{value}
|
{value}
|
||||||
{tooltipLabels}
|
{tooltipLabels}
|
||||||
@ -57,14 +57,5 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{#if value?.active === false}
|
{#if value?.active === false}
|
||||||
<div class="ml-1">
|
|
||||||
(<Label label={contact.string.Inactive} />)
|
(<Label label={contact.string.Inactive} />)
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
.status {
|
|
||||||
font-weight: 400;
|
|
||||||
font-size: 0.875rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user