mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Implemented: "Week" as the default in statistics. Save last period. (#300)
This commit is contained in:
@ -77,6 +77,7 @@ const Setting = {
|
||||
'SELECTED_ICON': 'selectedIcon',
|
||||
'INTERNAL_STATISTICS': 'internalStatistics',
|
||||
'INTERNAL_STATISTICS_DATA': 'internalStatisticsData',
|
||||
'DEFAULT_RANGE_STATISTIC': 'defaultRangeStatistic',
|
||||
'ALLOWED_DOMAINS_GOOGLE_FONTS': 'allowedDomainsGoogleFonts',
|
||||
'STORAGE_TYPE': 'storageType',
|
||||
'BADGE_COLOR': 'badgeColor',
|
||||
@ -96,6 +97,7 @@ const SettingDefaults = {
|
||||
[Setting.UPDATE_NOTIFICATION]: 0,
|
||||
[Setting.INTERNAL_STATISTICS]: false,
|
||||
[Setting.INTERNAL_STATISTICS_DATA]: {},
|
||||
[Setting.DEFAULT_RANGE_STATISTIC]: 'week',
|
||||
[Setting.LAST_MAPPING_UPDATE]: '2020-01-01',
|
||||
[Setting.NEGATE_HTML_FILTER_LIST]: false,
|
||||
[Setting.SELECTED_ICON]: 'Default',
|
||||
|
Reference in New Issue
Block a user