Quick fix for store migration version being wrong (#7243)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-02-27 13:31:45 -08:00
1 parent 003dc44681
commit d29615c089
1 file changed
+1 -2
@@ -2,12 +2,11 @@
* Copyright (c) OpenLens Authors. All rights reserved. * Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information. * Licensed under MIT License. See LICENSE in root directory for more information.
*/ */
import { applicationInformationToken } from "@k8slens/application";
import { getInjectable } from "@ogre-tools/injectable"; import { getInjectable } from "@ogre-tools/injectable";
const storeMigrationVersionInjectable = getInjectable({ const storeMigrationVersionInjectable = getInjectable({
id: "store-migration-version", id: "store-migration-version",
instantiate: (di) => di.inject(applicationInformationToken).version, instantiate: () => "6.4.0",
}); });
export default storeMigrationVersionInjectable; export default storeMigrationVersionInjectable;