mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-28 11:17:16 +00:00
TSK-861. Replacing a component (#2809)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
27a3264f9b
commit
c6c6dfc856
@ -14,7 +14,7 @@
|
|||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import contact, { EmployeeAccount } from '@hcengineering/contact'
|
import contact, { EmployeeAccount } from '@hcengineering/contact'
|
||||||
import { employeeByIdStore, EmployeePresenter } from '@hcengineering/contact-resources'
|
import { employeeByIdStore, EmployeeBox } from '@hcengineering/contact-resources'
|
||||||
import core, { ClassifierKind, Doc, Mixin, Ref } from '@hcengineering/core'
|
import core, { ClassifierKind, Doc, Mixin, Ref } from '@hcengineering/core'
|
||||||
import { AttributeBarEditor, createQuery, getClient, KeyedAttribute } from '@hcengineering/presentation'
|
import { AttributeBarEditor, createQuery, getClient, KeyedAttribute } from '@hcengineering/presentation'
|
||||||
|
|
||||||
@ -144,9 +144,15 @@
|
|||||||
<span class="label">
|
<span class="label">
|
||||||
<Label label={core.string.CreatedBy} />
|
<Label label={core.string.CreatedBy} />
|
||||||
</span>
|
</span>
|
||||||
<div class="min-w-0 w-full employee-button overflow-label">
|
<EmployeeBox
|
||||||
<EmployeePresenter value={employee} inline />
|
value={employee?._id}
|
||||||
</div>
|
label={core.string.CreatedBy}
|
||||||
|
kind={'link'}
|
||||||
|
size={'large'}
|
||||||
|
width={'100%'}
|
||||||
|
showNavigate={false}
|
||||||
|
readonly
|
||||||
|
/>
|
||||||
|
|
||||||
<span class="label">
|
<span class="label">
|
||||||
<Label label={tracker.string.Assignee} />
|
<Label label={tracker.string.Assignee} />
|
||||||
@ -218,17 +224,4 @@
|
|||||||
align-self: start;
|
align-self: start;
|
||||||
margin-top: 0.385rem;
|
margin-top: 0.385rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.employee-button {
|
|
||||||
padding: 0 0.875rem;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
display: flex;
|
|
||||||
min-height: 2rem;
|
|
||||||
&:hover {
|
|
||||||
border: 1px solid var(--button-border-hover);
|
|
||||||
color: var(--accent-color);
|
|
||||||
transition-duration: 0;
|
|
||||||
border-radius: 0.25rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user