fixed "Booking Users"

This commit is contained in:
Paolo Arena
2021-10-04 15:55:43 +02:00
parent 76918f6b2c
commit 1a9a81a1ba
20 changed files with 145 additions and 88 deletions

View File

@@ -11,7 +11,7 @@ import { useI18n } from '@/boot/i18n'
// You can declare a mixin as the same style as components.
export default function () {
function getImgEvent(event: IEvents) {
if (!!event.img)
if (event && !!event.img)
return event.img
else
return 'images/noimg.png'