From 58a2a320272bcd14b5cf0389e8d22bdb81fcde78 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 9 Jul 2024 14:21:41 +0200 Subject: [PATCH] warmFix(workerDescriptor): ?. --- src/pages/Worker/Card/WorkerDescriptor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue index 82a698878..951c8511e 100644 --- a/src/pages/Worker/Card/WorkerDescriptor.vue +++ b/src/pages/Worker/Card/WorkerDescriptor.vue @@ -71,7 +71,7 @@ watch( const data = ref(useCardDescription()); const setData = (entity) => { if (!entity) return; - data.value = useCardDescription(entity.user.nickname, entity.id); + data.value = useCardDescription(entity.user?.nickname, entity.id); }; const openChangePasswordForm = () => changePasswordFormDialog.value.show();