From 202f4eeded2e9efffa39107256ea4f91cd499316 Mon Sep 17 00:00:00 2001 From: dongjinlong <164888560+worrycare@users.noreply.github.com> Date: Sat, 30 Mar 2024 21:39:47 +0800 Subject: [PATCH] chore: fix some typos (#3104) --- web/src/utils/zincutils.ts | 2 +- web/src/views/Dashboards/ViewDashboard.vue | 4 ++-- web/src/views/Dashboards/addPanel/AddPanel.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/utils/zincutils.ts b/web/src/utils/zincutils.ts index a5b989bec2..c8dd61b499 100644 --- a/web/src/utils/zincutils.ts +++ b/web/src/utils/zincutils.ts @@ -629,7 +629,7 @@ export function getUUID() { } export const maskText = (text: string) => { - // Disabled masking as it was not great usefull + // Disabled masking as it was not great useful // const visibleChars = 4; // Number of characters to keep visible at the beginning and end // const maskedChars = text.length - visibleChars * 2; diff --git a/web/src/views/Dashboards/ViewDashboard.vue b/web/src/views/Dashboards/ViewDashboard.vue index 994259a728..47dc7091c2 100644 --- a/web/src/views/Dashboards/ViewDashboard.vue +++ b/web/src/views/Dashboards/ViewDashboard.vue @@ -394,7 +394,7 @@ export default defineComponent({ // refresh interval v-model const refreshInterval = ref(0); - // intial timezone, which will come from the route query + // initial timezone, which will come from the route query const initialTimezone = ref(route.query.timezone ?? null); // when the date changes from the picker, update the current time object for the dashboard @@ -475,7 +475,7 @@ export default defineComponent({ } // check if timezone query params exist - // will be used for intial time zone only, so remove it from query + // will be used for initial time zone only, so remove it from query if (params.timezone) { // get the query params const query = { diff --git a/web/src/views/Dashboards/addPanel/AddPanel.vue b/web/src/views/Dashboards/addPanel/AddPanel.vue index e81fb80212..887ee561c7 100644 --- a/web/src/views/Dashboards/addPanel/AddPanel.vue +++ b/web/src/views/Dashboards/addPanel/AddPanel.vue @@ -748,7 +748,7 @@ export default defineComponent({ .fields.filter.length > 0 ) { errors.push( - "Filters are not supported for PromQL. Remove anything added to the Fitlers." + "Filters are not supported for PromQL. Remove anything added to the Filters." ); }