Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B06148 UI tweaks - rename bandwidth to data transfer #71

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/components/HAppCardUsage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ const items = computed(() => {
unit: t('$.cpu'),
isDisabled: true
},
// {
// value: presentBytes(props.happ.storage),
// unit: t('$.storage'),
// isDisabled: true
// },
{
value: presentBytes(props.happ.storage),
unit: t('$.storage'),
isDisabled: true
},
{
value: presentBytes(props.happ.usage?.bandwidth),
unit: t('$.bandwidth'),
value: presentBytes(props.happ.usage?.data_transfer),
unit: t('$.data_transfer'),
isDisabled: false
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const translations = {
$: {
app_version: '{app} version {version}',
bandwidth: 'Bandwidth',
data_transfer: 'Data Transfer',
cancel: 'Cancel',
confirm: 'Confirm',
continue: 'Continue',
Expand Down
2 changes: 1 addition & 1 deletion src/stories/mocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export const hAppMock = {
isPaused: false,
enabled: true,
sourceChains: 0,
usage: { bandwidth: 0, cpu: 0 },
usage: { data_transfer: 0, cpu: 0 },
storage: 0
}

Expand Down
Loading