fix: mail services

This commit is contained in:
Ahmed Bouhuolia
2024-11-09 22:23:52 +02:00
parent 94223b6ebf
commit aa7e5d4ae9
15 changed files with 168 additions and 64 deletions

View File

@@ -58,7 +58,7 @@ export class PdfTemplate extends TenantModel {
* @returns {string}
*/
get companyLogoUri() {
return this.attributes.companyLogoKey
return this.attributes?.companyLogoKey
? getUploadedObjectUri(this.attributes.companyLogoKey)
: '';
}