From 244281ac81126ca9fbf63ce64a3d42a4fdc31556 Mon Sep 17 00:00:00 2001 From: marcel-bitfly <174338434+marcel-bitfly@users.noreply.github.com> Date: Mon, 21 Oct 2024 14:10:54 +0200 Subject: [PATCH] fix(NotificationsManagementNetwork): `participation rate` --- frontend/.vscode/settings.json | 3 ++- .../management/NotificationsManagementNetwork.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.json index 4e60da420..fa5575cd5 100644 --- a/frontend/.vscode/settings.json +++ b/frontend/.vscode/settings.json @@ -33,7 +33,8 @@ "qrCode", "useNotificationsOverviewStore", "useWindowSize", - "vscode" + "vscode", + "NotificationsManagementNetwork" ], "editor.codeActionsOnSave": { "source.fixAll.eslint": "always" diff --git a/frontend/components/notifications/management/NotificationsManagementNetwork.vue b/frontend/components/notifications/management/NotificationsManagementNetwork.vue index ddc6be294..f07e94187 100644 --- a/frontend/components/notifications/management/NotificationsManagementNetwork.vue +++ b/frontend/components/notifications/management/NotificationsManagementNetwork.vue @@ -30,9 +30,9 @@ watchDebounced([ ], async () => { if (!currentNetworkSettings.value) return currentNetworkSettings.value.is_gas_above_subscribed = hasGasAbove.value - currentNetworkSettings.value.gas_above_threshold = thresholdGasAbove.value currentNetworkSettings.value.is_gas_below_subscribed = hasGasBelow.value currentNetworkSettings.value.is_new_reward_round_subscribed = hasNewRewardRound.value + currentNetworkSettings.value.is_participation_rate_subscribed = hasParticipationRate.value currentNetworkSettings.value.gas_above_threshold = formatToWei(thresholdGasAbove.value, { from: 'gwei' }) currentNetworkSettings.value.gas_below_threshold = formatToWei(thresholdGasBelow.value, { from: 'gwei' })