Skip to content

Commit

Permalink
chore: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amirch1 committed Feb 1, 2022
1 parent 72efeb6 commit 321889c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/app/modules/bandwidth/views/overview/storage-data.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class StorageDataConfig extends ReportDataBaseConfig {
return {
[ReportDataSection.graph]: {
fields: {
'average_storge': {
'average_storage': {
format: value => value,
graphTooltip: (value) => `<span class="kValue">${fileSize(value, 1).value} ${fileSize(value).units}</span>`,
colors: [getPrimaryColor('default'), getColorPercent(100,'default')],
Expand Down Expand Up @@ -51,7 +51,7 @@ export class StorageDataConfig extends ReportDataBaseConfig {
format: value => DateFilterUtils.formatMonthString(value, analyticsConfig.locale),
nonComparable: true,
},
'average_storge': {
'average_storage': {
format: value => ReportHelper.numberOrZero(value, true),
sortOrder: 1
},
Expand All @@ -74,11 +74,11 @@ export class StorageDataConfig extends ReportDataBaseConfig {
}
},
[ReportDataSection.totals]: {
preSelected: 'average_storge',
preSelected: 'average_storage',
fields: {
'average_storge': {
'average_storage': {
format: value => ReportHelper.numberOrZero(fileSize(value).value, false),
title: this._translate.instant(`app.bandwidth.overview.average_storge`),
title: this._translate.instant(`app.bandwidth.overview.average_storage`),
tooltip: this._translate.instant(`app.bandwidth.storedMedia_tt`),
units: value => fileSize(value).units,
sortOrder: 1
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
"lastMonths": "{{months}} Months usage up to {{selectedPeriod}}",
"year_id": "Year",
"lastYears": "{{years}} Years usage up to {{selectedPeriod}}",
"average_storge": "Stored Media",
"average_storage": "Stored Media",
"bandwidth_consumption": "Outbound Bandwidth",
"transcoding_consumption": "Transcoded Media",
"total_entries": "Managed Entries",
Expand Down

0 comments on commit 321889c

Please sign in to comment.