From b3f3c1d9101b7b879491bccdeda761868c9fe896 Mon Sep 17 00:00:00 2001 From: Patrick Winfield Date: Mon, 16 Oct 2023 15:33:32 -0600 Subject: [PATCH] rename bandwidth 2 data_transfer --- src/components/HAppCardUsage.vue | 2 +- src/stories/mocks.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/HAppCardUsage.vue b/src/components/HAppCardUsage.vue index 07ca698..674dce4 100644 --- a/src/components/HAppCardUsage.vue +++ b/src/components/HAppCardUsage.vue @@ -36,7 +36,7 @@ const items = computed(() => { // isDisabled: true // }, { - value: presentBytes(props.happ.usage?.bandwidth), + value: presentBytes(props.happ.usage?.data_transfer), unit: t('$.data_transfer'), isDisabled: false } 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 }