mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-11-01 18:14:03 +00:00
Ready to implement comments
This commit is contained in:
@@ -133,8 +133,12 @@ export class Post implements PostBuilder {
|
||||
}
|
||||
}
|
||||
|
||||
get isUserPage() : boolean {
|
||||
return this.kindPage == PostPageKind.PAGE_KIND_USER;
|
||||
}
|
||||
|
||||
get userPageID() : number {
|
||||
return this.kindPage == PostPageKind.PAGE_KIND_USER ? this.pageID : 0
|
||||
return this.isUserPage ? this.pageID : 0
|
||||
}
|
||||
|
||||
get groupID() : number {
|
||||
|
||||
Reference in New Issue
Block a user