chore: fix some typos (#3104)

This commit is contained in:
dongjinlong
2024-03-30 21:39:47 +08:00
committed by GitHub
parent 898cb1cc47
commit 202f4eeded
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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 = {
@@ -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."
);
}