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();