diff --git a/src/components/ui/VnAvatar.vue b/src/components/ui/VnAvatar.vue index 2423f8ba7..0fe943ee2 100644 --- a/src/components/ui/VnAvatar.vue +++ b/src/components/ui/VnAvatar.vue @@ -6,7 +6,7 @@ import { useColor } from 'src/composables/useColor'; import { getCssVar } from 'quasar'; const $props = defineProps({ - workerId: { type: Number, default: null }, + workerId: { type: [Number, undefined], default: null }, description: { type: String, default: null }, title: { type: String, default: null }, color: { type: String, default: null }, @@ -38,7 +38,13 @@ watch(src, () => (showLetter.value = false)); - + +