1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-06-20 16:45:16 +00:00

Can change group logo

This commit is contained in:
2019-12-26 14:14:42 +01:00
parent 6be2cda9fb
commit 84a98506dc
4 changed files with 78 additions and 1 deletions

View File

@ -96,6 +96,13 @@ export class GroupInfo implements GroupInfoConstructor {
return pathUserData(this.logoPath, false);
}
get logoSysPath() : string {
if(!this.hasLogo)
throw Error("The group has no logo!");
return pathUserData(this.logoPath, true);
}
get hasDescription() : boolean {
return this.description && true;
}