kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
chore: cleanup ts and gitignore
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>environments/review-docs-merge-hoc7bt/deployments/18064
rodzic
6abaab9290
commit
7f303bf5b9
|
@ -23,5 +23,6 @@ yarn-error.log*
|
|||
# Bundle anayzer
|
||||
stats.html
|
||||
|
||||
# Cypress
|
||||
cypress/screenshots
|
||||
cypress/videos
|
||||
|
|
|
@ -253,7 +253,7 @@ const store: Module<State, RootState> = {
|
|||
logger.info('Successfully fetched instance settings')
|
||||
|
||||
type SettingsSection = { section: string, name: string }
|
||||
const sections = response?.data.reduce((map: Record<string, Record<string, SettingsSection>>, entry: SettingsSection) => {
|
||||
const sections = response.data.reduce((map: Record<string, Record<string, SettingsSection>>, entry: SettingsSection) => {
|
||||
map[entry.section] ??= {}
|
||||
map[entry.section][entry.name] = entry
|
||||
return map
|
||||
|
|
Ładowanie…
Reference in New Issue