From 84e714bbd151e7416752e1acd7c7c42867a3d82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Jamr=C3=B3z?= Date: Wed, 2 Feb 2022 14:28:17 +0100 Subject: [PATCH] Improve readability --- public/app/core/history/richHistoryLocalStorage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/core/history/richHistoryLocalStorage.ts b/public/app/core/history/richHistoryLocalStorage.ts index c32d94946c1..074961a4c44 100644 --- a/public/app/core/history/richHistoryLocalStorage.ts +++ b/public/app/core/history/richHistoryLocalStorage.ts @@ -63,9 +63,9 @@ export default class RichHistoryLocalStorage implements RichHistoryStorage { type: RichHistoryStorageWarning.LimitExceeded, message: `Query history reached the limit of ${MAX_HISTORY_ITEMS}. Old, not-starred items have been removed.`, }; - } else { - return undefined; } + + return undefined; } async deleteAll(): Promise {