From 672693ae4ed1d37ecabe91fd36fc2a1720ac70c3 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 9 Dec 2021 00:04:58 +0900 Subject: [PATCH] Field: fix typo in fieldOverrides.ts (#42885) formating -> formatting --- packages/grafana-data/src/field/fieldOverrides.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-data/src/field/fieldOverrides.ts b/packages/grafana-data/src/field/fieldOverrides.ts index d0a1e9d56ef..157277be009 100644 --- a/packages/grafana-data/src/field/fieldOverrides.ts +++ b/packages/grafana-data/src/field/fieldOverrides.ts @@ -209,7 +209,7 @@ export function applyFieldOverrides(options: ApplyFieldOverrideOptions): DataFra // via field.display(value). this can potentially be removed once we... // 1. process data packets incrementally and/if cache the results in the streaming datafame (maybe by buffer index) // 2. have the ability to selectively get display color or text (but not always both, which are each quite expensive) -// 3. sufficently optimize text formating and threshold color determinitation +// 3. sufficently optimize text formatting and threshold color determinitation function cachingDisplayProcessor(disp: DisplayProcessor, maxCacheSize = 2500): DisplayProcessor { const cache = new Map();