1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Move updateWarningLevelInjectable

to /common subfolders from /main

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-06-27 10:11:13 +03:00
parent cd2cd0cbf0
commit 4e9d81dbea
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import { getInjectable } from "@ogre-tools/injectable";
import createSyncBoxInjectable from "../../../common/utils/sync-box/create-sync-box.injectable";
import { syncBoxInjectionToken } from "../../../common/utils/sync-box/sync-box-injection-token";
import createSyncBoxInjectable from "../utils/sync-box/create-sync-box.injectable";
import { syncBoxInjectionToken } from "../utils/sync-box/sync-box-injection-token";
const updateWarningLevelInjectable = getInjectable({
id: "update-warning-level",

View File

@ -1,7 +1,7 @@
import { getInjectable } from "@ogre-tools/injectable";
import updateDownloadedDateInjectable from "./update-downloaded-date.injectable";
import { UpdateWarningLevelCalculator } from "./update-warning-level-calculator";
import updateWarningLevelInjectable from "./update-warning-level.injectable";
import updateWarningLevelInjectable from "../../../common/application-update/update-warning-level.injectable";
const setUpdateWarningLevelInjectable = getInjectable({
id: "set-update-warning",
@ -12,7 +12,7 @@ const setUpdateWarningLevelInjectable = getInjectable({
const newLevel = new UpdateWarningLevelCalculator(updateDownloadedDate.value.get()).get();
return () => {
updateWarningLevel.set(newLevel)
updateWarningLevel.set(newLevel);
}
}
});