Files
lens/src/common/front-end-routing/routes/preferences/terminal/terminal-preferences-route.injectable.ts
T
2022-06-16 08:44:38 -04:00

22 lines
652 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import { frontEndRouteInjectionToken } from "../../../front-end-route-injection-token";
const terminalPreferencesRouteInjectable = getInjectable({
id: "terminal-preferences-route",
instantiate: () => ({
path: "/preferences/terminal",
clusterFrame: false,
isEnabled: computed(() => true),
}),
injectionToken: frontEndRouteInjectionToken,
});
export default terminalPreferencesRouteInjectable;