Files
mastodon-sakyey/app/javascript/flavours/glitch/features/collections/utils.ts
diondiondion 46c83fc91d [Glitch] Add "My collections" page
Port a1acf8f4bc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-01-23 18:10:20 +01:00

12 lines
255 B
TypeScript

import {
isClientFeatureEnabled,
isServerFeatureEnabled,
} from '@/flavours/glitch/utils/environment';
export function areCollectionsEnabled() {
return (
isClientFeatureEnabled('collections') &&
isServerFeatureEnabled('collections')
);
}