diff options
| author | Henry Jameson <me@hjkos.com> | 2022-08-11 21:56:30 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-08-11 21:56:30 +0300 |
| commit | 3a16a59f37b9b637bb4cbc1c3575810a65515cbc (patch) | |
| tree | 291021eaf0c3630c7b29b97481ae3fe5f24a0547 /src/modules/api.js | |
| parent | 9e453372b37dde652c054c13febb97bb40bc1814 (diff) | |
navigation refactored, used in mobile nav as well
Diffstat (limited to 'src/modules/api.js')
| -rw-r--r-- | src/modules/api.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/api.js b/src/modules/api.js index 80a978f9..f783fa4f 100644 --- a/src/modules/api.js +++ b/src/modules/api.js @@ -15,6 +15,9 @@ const api = { mastoUserSocketStatus: null, followRequests: [] }, + getters: { + followRequestCount: state => state.api.followRequests.length + }, mutations: { setBackendInteractor (state, backendInteractor) { state.backendInteractor = backendInteractor |
