mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
UBER-749: fix no label for unassigned (#3603)
This commit is contained in:
parent
4cb103f636
commit
14104a0984
@ -648,7 +648,7 @@ export function createModel (builder: Builder): void {
|
||||
{
|
||||
key: 'assignee',
|
||||
presenter: tracker.component.AssigneeEditor,
|
||||
displayProps: { key: 'assigee', fixed: 'right' },
|
||||
displayProps: { key: 'assignee', fixed: 'right' },
|
||||
props: { kind: 'list', shouldShowName: false, avatarSize: 'x-small' }
|
||||
}
|
||||
]
|
||||
|
@ -118,11 +118,6 @@
|
||||
<span class="eContentPresenterLabel" class:colorInherit class:fs-bold={accent}>
|
||||
<Label label={defaultName} />
|
||||
</span>
|
||||
{#if statusLabel}
|
||||
<span class="eContentStatusLabel">
|
||||
<Label label={statusLabel} />
|
||||
</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
|
@ -20,6 +20,7 @@
|
||||
import PersonContent from './PersonContent.svelte'
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import { Ref } from '@hcengineering/core'
|
||||
import ui from '@hcengineering/ui'
|
||||
|
||||
export let value: Ref<Person> | Person | null | undefined
|
||||
export let inline = false
|
||||
@ -28,7 +29,7 @@
|
||||
export let shouldShowAvatar = true
|
||||
export let shouldShowName = true
|
||||
export let shouldShowPlaceholder = false
|
||||
export let defaultName: IntlString | undefined = undefined
|
||||
export let defaultName: IntlString | undefined = ui.string.NotSelected
|
||||
export let statusLabel: IntlString | undefined = undefined
|
||||
export let tooltipLabels: PersonLabelTooltip | undefined = undefined
|
||||
export let avatarSize: IconSize = 'x-small'
|
||||
|
@ -28,7 +28,7 @@
|
||||
export let accent: boolean = false
|
||||
export let shouldShowAvatar = true
|
||||
export let shouldShowName = true
|
||||
export let shouldShowPlaceholder = false
|
||||
export let shouldShowPlaceholder = true
|
||||
export let defaultName: IntlString | undefined = undefined
|
||||
export let tooltipLabels: PersonLabelTooltip | undefined = undefined
|
||||
export let avatarSize: 'inline' | 'tiny' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' = 'x-small'
|
||||
|
Loading…
Reference in New Issue
Block a user