diff options
Diffstat (limited to 'src/state/models/my-follows.ts')
-rw-r--r-- | src/state/models/my-follows.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/models/my-follows.ts b/src/state/models/my-follows.ts index c1fba1352..732c2fe73 100644 --- a/src/state/models/my-follows.ts +++ b/src/state/models/my-follows.ts @@ -72,6 +72,10 @@ export class MyFollowsModel { return !!this.followDidToRecordMap[did] } + get numFollows() { + return Object.keys(this.followDidToRecordMap).length + } + get isEmpty() { return Object.keys(this.followDidToRecordMap).length === 0 } |