UBER-665: Rename EmployeeAccount->PersonAccount (#3550)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-08-05 01:06:21 +07:00
committed by GitHub
parent 9acc1b86a0
commit 161d26ebeb
181 changed files with 1215 additions and 1159 deletions
@@ -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">