diff --git a/src/components/HAppCardUsage.vue b/src/components/HAppCardUsage.vue index 6e77b68..674dce4 100644 --- a/src/components/HAppCardUsage.vue +++ b/src/components/HAppCardUsage.vue @@ -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 } ] diff --git a/src/locales/en.js b/src/locales/en.js index 966dbaa..4920321 100644 --- a/src/locales/en.js +++ b/src/locales/en.js @@ -1,7 +1,7 @@ const translations = { $: { app_version: '{app} version {version}', - bandwidth: 'Bandwidth', + data_transfer: 'Data Transfer', cancel: 'Cancel', confirm: 'Confirm', continue: 'Continue', diff --git a/src/stories/mocks.js b/src/stories/mocks.js index 05852ca..33ffe42 100644 --- a/src/stories/mocks.js +++ b/src/stories/mocks.js @@ -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 }