From 1d82da49fccb227da9ee7a1e26e3489b3d449851 Mon Sep 17 00:00:00 2001 From: iso9000t <119494473+iso9000t@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:20:25 +0400 Subject: [PATCH] EPMRPP-96470 || Fix circular dependencies --- app/src/controllers/log/constants.js | 3 ++- app/src/controllers/log/storageUtils.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/controllers/log/constants.js b/app/src/controllers/log/constants.js index beaee77e3c..aa471b9a2f 100644 --- a/app/src/controllers/log/constants.js +++ b/app/src/controllers/log/constants.js @@ -15,7 +15,8 @@ */ import * as logLevels from 'common/constants/logLevels'; -import { formatSortingString, SORTING_ASC } from 'controllers/sorting'; +import { SORTING_ASC } from 'controllers/sorting/constants'; +import { formatSortingString } from 'controllers/sorting/utils'; export const NAMESPACE = 'log'; export const LOG_ITEMS_NAMESPACE = `${NAMESPACE}/logItems`; diff --git a/app/src/controllers/log/storageUtils.js b/app/src/controllers/log/storageUtils.js index 1617425270..e6451001ac 100644 --- a/app/src/controllers/log/storageUtils.js +++ b/app/src/controllers/log/storageUtils.js @@ -14,7 +14,7 @@ * limitations under the License. */ -import { getStorageItem, updateStorageItem } from 'common/utils'; +import { getStorageItem, updateStorageItem } from 'common/utils/storageUtils'; import { MARKDOWN } from 'common/constants/logViewModes'; import { LOG_TIME_FORMAT_ABSOLUTE } from 'controllers/user/constants'; import {