diff --git a/models/contact/src/index.ts b/models/contact/src/index.ts
index f6859b0399..c0f4f1b760 100644
--- a/models/contact/src/index.ts
+++ b/models/contact/src/index.ts
@@ -446,7 +446,7 @@ export function createModel (builder: Builder): void {
attachTo: contact.mixin.Employee,
descriptor: view.viewlet.Table,
config: [
- '',
+ { key: '', props: { showStatus: true } },
'city',
'attachments',
'modifiedOn',
diff --git a/plugins/activity-resources/src/components/BasePreview.svelte b/plugins/activity-resources/src/components/BasePreview.svelte
index 259dffe337..9f949569a1 100644
--- a/plugins/activity-resources/src/components/BasePreview.svelte
+++ b/plugins/activity-resources/src/components/BasePreview.svelte
@@ -15,7 +15,7 @@
@@ -118,7 +115,7 @@
{#if headerObject}
{:else if person}
-
+
{:else}
{/if}
diff --git a/plugins/chunter-resources/src/components/chat/ChannelAside.svelte b/plugins/chunter-resources/src/components/chat/ChannelAside.svelte
index 1ead45d395..f8aa5caf0f 100644
--- a/plugins/chunter-resources/src/components/chat/ChannelAside.svelte
+++ b/plugins/chunter-resources/src/components/chat/ChannelAside.svelte
@@ -103,6 +103,7 @@
{
okLabel: presentation.string.Add,
disableDeselectFor: disabledRemoveFor,
+ skipInactive: true,
selected: members,
showStatus: true
},
diff --git a/plugins/chunter-resources/src/components/chat/create/CreateDirectChat.svelte b/plugins/chunter-resources/src/components/chat/create/CreateDirectChat.svelte
index 809adbd1df..01c00d94a8 100644
--- a/plugins/chunter-resources/src/components/chat/create/CreateDirectChat.svelte
+++ b/plugins/chunter-resources/src/components/chat/create/CreateDirectChat.svelte
@@ -115,6 +115,7 @@
{
okLabel: presentation.string.Next,
skipCurrentAccount: false,
+ skipInactive: true,
selected: employeeIds,
showStatus: true
},
diff --git a/plugins/contact-resources/src/components/AssigneeBox.svelte b/plugins/contact-resources/src/components/AssigneeBox.svelte
index a292f38472..88efc44e60 100644
--- a/plugins/contact-resources/src/components/AssigneeBox.svelte
+++ b/plugins/contact-resources/src/components/AssigneeBox.svelte
@@ -66,6 +66,7 @@
export let shouldShowName: boolean = true
export let id: string | undefined = undefined
export let short: boolean = false
+ export let showStatus = false
const icon = IconPerson
@@ -147,6 +148,7 @@
shouldShowName={false}
shouldShowPlaceholder
onEmployeeEdit={_click}
+ {showStatus}
/>
{:else}
diff --git a/plugins/contact-resources/src/components/PersonPresenter.svelte b/plugins/contact-resources/src/components/PersonPresenter.svelte
index 4133f85d1c..8e8b438150 100644
--- a/plugins/contact-resources/src/components/PersonPresenter.svelte
+++ b/plugins/contact-resources/src/components/PersonPresenter.svelte
@@ -42,7 +42,7 @@
export let maxWidth = ''
export let compact = false
export let type: ObjectPresenterType = 'link'
- export let showStatus: boolean = true
+ export let showStatus: boolean = false
const client = getClient()
$: personValue = typeof value === 'string' ? $personByIdStore.get(value) : value
diff --git a/plugins/contact-resources/src/components/SelectUsersPopup.svelte b/plugins/contact-resources/src/components/SelectUsersPopup.svelte
index ac88587611..29a2bb38ee 100644
--- a/plugins/contact-resources/src/components/SelectUsersPopup.svelte
+++ b/plugins/contact-resources/src/components/SelectUsersPopup.svelte
@@ -33,6 +33,7 @@
export let skipCurrentAccount = false
export let disableDeselectFor: Ref[] = []
export let showStatus = true
+ export let skipInactive = false
const dispatch = createEventDispatcher()
@@ -90,6 +91,7 @@
{showStatus}
{disableDeselectFor}
{skipCurrentAccount}
+ {skipInactive}
on:select={handleSelectionChanged}
/>
diff --git a/plugins/contact-resources/src/components/UsersList.svelte b/plugins/contact-resources/src/components/UsersList.svelte
index ea446af8f4..8c8b7ec93d 100644
--- a/plugins/contact-resources/src/components/UsersList.svelte
+++ b/plugins/contact-resources/src/components/UsersList.svelte
@@ -31,6 +31,7 @@
export let skipCurrentAccount = false
export let disableDeselectFor: Ref[] = []
export let showStatus = true
+ export let skipInactive = false
const dispatch = createEventDispatcher()
const query = createQuery()
@@ -54,7 +55,8 @@
? { $search: search }
: { [searchField]: { $like: '%' + search + '%' } }
: {}),
- ...(skipCurrentAccount && currentPerson ? { _id: { $ne: currentPerson._id as Ref } } : {})
+ ...(skipCurrentAccount && currentPerson ? { _id: { $ne: currentPerson._id as Ref } } : {}),
+ ...(skipInactive ? { active: true } : {})
},
(result) => {
result.sort((a, b) => {
diff --git a/plugins/tracker-resources/src/components/issues/AssigneeEditor.svelte b/plugins/tracker-resources/src/components/issues/AssigneeEditor.svelte
index fcc37d6981..e2fe58a818 100644
--- a/plugins/tracker-resources/src/components/issues/AssigneeEditor.svelte
+++ b/plugins/tracker-resources/src/components/issues/AssigneeEditor.svelte
@@ -40,6 +40,7 @@
export let shrink: number = 0
export let isAction: boolean = false
export let readonly: boolean = false
+ export let showStatus = true
$: _object =
(typeof object !== 'string' ? object : undefined) ?? (typeof value !== 'string' ? value : undefined) ?? []
@@ -189,6 +190,7 @@
{shrink}
{readonly}
{shouldShowName}
+ {showStatus}
showNavigate={false}
justify={'left'}
showTooltip={{