Features: add Lists

This commit is contained in:
Alex Gleason 2021-09-18 14:36:42 -05:00
parent 46737a5468
commit dc295c9d65
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -19,6 +19,10 @@ export const getFeatures = createSelector([
v.software === MASTODON && gte(v.compatVersion, '3.1.0'), v.software === MASTODON && gte(v.compatVersion, '3.1.0'),
v.software === PLEROMA && gte(v.version, '0.9.9'), v.software === PLEROMA && gte(v.version, '0.9.9'),
]), ]),
lists: any([
v.software === MASTODON && gte(v.compatVersion, '2.1.0'),
v.software === PLEROMA && gte(v.version, '0.9.9'),
]),
suggestions: v.software === MASTODON && gte(v.compatVersion, '2.4.3'), suggestions: v.software === MASTODON && gte(v.compatVersion, '2.4.3'),
suggestionsV2: v.software === MASTODON && gte(v.compatVersion, '3.4.0'), suggestionsV2: v.software === MASTODON && gte(v.compatVersion, '3.4.0'),
trends: v.software === MASTODON && gte(v.compatVersion, '3.0.0'), trends: v.software === MASTODON && gte(v.compatVersion, '3.0.0'),