From f61e9c2c9fc52b0cf0dceb3f9ef95d121f48e2f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=CC=81bor=20Farkas?= Date: Mon, 5 Sep 2022 14:18:09 +0200 Subject: [PATCH] refactor: more readable code --- public/app/features/explore/state/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/explore/state/utils.ts b/public/app/features/explore/state/utils.ts index 03356271701..73058097d2e 100644 --- a/public/app/features/explore/state/utils.ts +++ b/public/app/features/explore/state/utils.ts @@ -45,9 +45,9 @@ const loadLogsVolumeEnabled = (): boolean => { // we default to `enabled=true` if (data === 'false') { return false; - } else { - return true; } + + return true; }; /**