mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move all RouteParam's and URL builders to src/common (#2778)
- Prevents some circular dependencies - Allowed main to use them as needed Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
540c6dac37
commit
5ee2ab5b4a
134 files changed
+462
-515
No files matched your search
@@ -29,9 +29,9 @@ import { jobStore } from "./job.store";
|
||||
import { eventStore } from "../+events/event.store";
|
||||
import type { Job } from "../../api/endpoints/job.api";
|
||||
import { KubeObjectListLayout } from "../kube-object";
|
||||
import type { IJobsRouteParams } from "../+workloads";
|
||||
import kebabCase from "lodash/kebabCase";
|
||||
import { KubeObjectStatusIcon } from "../kube-object-status-icon";
|
||||
import type { JobsRouteParams } from "../../../common/routes";
|
||||
|
||||
enum columnId {
|
||||
name = "name",
|
||||
@@ -41,7 +41,7 @@ enum columnId {
|
||||
age = "age",
|
||||
}
|
||||
|
||||
interface Props extends RouteComponentProps<IJobsRouteParams> {
|
||||
interface Props extends RouteComponentProps<JobsRouteParams> {
|
||||
}
|
||||
|
||||
@observer
|
||||
|
||||
Reference in new issue
Block a user