From d6c7ca57a26e40def44ac9846560f374a14822b0 Mon Sep 17 00:00:00 2001 From: Tomas Chmelevskij Date: Fri, 31 Dec 2021 16:23:52 +0100 Subject: [PATCH] chore: fix vue lint warnings --- .../betaflight-logo/BetaflightLogo.vue | 77 ++++++++++--------- src/components/status-bar/PortUtilization.vue | 2 + src/components/status-bar/ReadingStat.vue | 4 + src/components/status-bar/StatusBar.vue | 11 +++ .../status-bar/StatusBarVersion.vue | 4 + 5 files changed, 61 insertions(+), 37 deletions(-) diff --git a/src/components/betaflight-logo/BetaflightLogo.vue b/src/components/betaflight-logo/BetaflightLogo.vue index 8ebe3fa9..df7453ee 100644 --- a/src/components/betaflight-logo/BetaflightLogo.vue +++ b/src/components/betaflight-logo/BetaflightLogo.vue @@ -1,3 +1,43 @@ + + + + - - - - diff --git a/src/components/status-bar/PortUtilization.vue b/src/components/status-bar/PortUtilization.vue index d00ae1d2..48a4ae53 100644 --- a/src/components/status-bar/PortUtilization.vue +++ b/src/components/status-bar/PortUtilization.vue @@ -24,9 +24,11 @@ export default { props: { usageDown: { type: Number, + default: 0, }, usageUp: { type: Number, + default: 0, }, }, }; diff --git a/src/components/status-bar/ReadingStat.vue b/src/components/status-bar/ReadingStat.vue index 7577c038..83074919 100644 --- a/src/components/status-bar/ReadingStat.vue +++ b/src/components/status-bar/ReadingStat.vue @@ -5,17 +5,21 @@ {{ unit }} +