Restore subscriptions in store and account modal (#4461)

Reverts cdcc7747 ("Hide subscriptions in store and account modal behind
a feature flag").

This re-adds the Subscriptions tab to the store, restores the
subscription panel on the account modal, and re-enables the cosmetics
fetch — removing the `SUBSCRIPTIONS_ENABLED` feature flag that gated
them all behind `false`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
Evan
2026-06-30 12:35:49 -07:00
committed by GitHub
parent 36b23d314f
commit cb7f721e73
3 changed files with 7 additions and 22 deletions
+1 -9
View File
@@ -14,7 +14,6 @@ import {
groupCosmeticVariants,
purchaseCosmetic,
resolveCosmetics,
SUBSCRIPTIONS_ENABLED,
} from "./Cosmetics";
import { translateText } from "./Utils";
@@ -35,14 +34,7 @@ export class StoreModal extends BaseModal {
return {
tabs: [
{ key: "packs", label: translateText("store.packs") },
...(SUBSCRIPTIONS_ENABLED
? [
{
key: "subscriptions",
label: translateText("store.subscriptions"),
},
]
: []),
{ key: "subscriptions", label: translateText("store.subscriptions") },
{ key: "patterns", label: translateText("store.patterns") },
{ key: "flags", label: translateText("store.flags") },
{ key: "effects", label: translateText("store.effects") },