about summary refs log tree commit diff
path: root/src/state/models/my-follows.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/my-follows.ts')
-rw-r--r--src/state/models/my-follows.ts4
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
   }