mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
UBER-665: Rename EmployeeAccount->PersonAccount (#3550)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { EmployeeAccount } from '@hcengineering/contact'
|
||||
import { EmployeeBox, employeeAccountByIdStore, employeeByIdStore } from '@hcengineering/contact-resources'
|
||||
import { PersonAccount } from '@hcengineering/contact'
|
||||
import { EmployeeBox, personAccountByIdStore, personByIdStore } from '@hcengineering/contact-resources'
|
||||
import core, { ClassifierKind, Doc, Mixin, Ref } from '@hcengineering/core'
|
||||
import { AttributeBarEditor, KeyedAttribute, createQuery, getClient } from '@hcengineering/presentation'
|
||||
|
||||
@@ -87,10 +87,10 @@
|
||||
'blockedBy'
|
||||
])
|
||||
|
||||
let account: EmployeeAccount | undefined
|
||||
$: employee = account && $employeeByIdStore.get(account.employee)
|
||||
let account: PersonAccount | undefined
|
||||
|
||||
$: account = $employeeAccountByIdStore.get(issue.createdBy as Ref<EmployeeAccount>)
|
||||
$: account = $personAccountByIdStore.get(issue.createdBy as Ref<PersonAccount>)
|
||||
$: employee = account && $personByIdStore.get(account.person)
|
||||
</script>
|
||||
|
||||
<div class="popupPanel-body__aside-grid">
|
||||
|
||||
Reference in New Issue
Block a user