Badges: Fix custom badges being turned into orbs

This commit is contained in:
Nuckyz 2025-02-25 16:29:27 -03:00
parent 4e32126e5d
commit 8d0f312122
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 26 additions and 16 deletions

View file

@ -153,13 +153,7 @@ function makeShortcuts() {
openModal: { getter: () => ModalAPI.openModal },
openModalLazy: { getter: () => ModalAPI.openModalLazy },
Stores: {
getter: () => Object.fromEntries(
Common.Flux.Store.getAll()
.map(store => [store.getName(), store] as const)
.filter(([name]) => name.length > 1)
)
}
Stores: Webpack.fluxStores
};
}