Skip to content

Commit f079f62

Browse files
feat: Add consoledataview for tasks and taskruns
1 parent 0b44ca5 commit f079f62

7 files changed

Lines changed: 485 additions & 205 deletions

File tree

locales/en/plugin__pipelines-console-plugin.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,7 @@
333333
"No secrets found": "No secrets found",
334334
"No selector": "No selector",
335335
"No task runs found": "No task runs found",
336-
"No TaskRuns found": "No TaskRuns found",
337336
"No tasks": "No tasks",
338-
"No Tasks found": "No Tasks found",
339337
"No triggers to remove": "No triggers to remove",
340338
"No when expressions are associated with this task.": "No when expressions are associated with this task.",
341339
"No workspace": "No workspace",

src/components/hooks/useTaskRuns.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const useTaskRunsK8s = (
4444
): [TaskRunKind[], boolean, unknown] => {
4545
const taskRunResource = pipelineRunName
4646
? {
47-
groupVersionKind: getGroupVersionKindForModel(TaskRunModel),
47+
groupVersionKind: TASK_RUN_GVK,
4848
namespace,
4949
selector: {
5050
matchLabels: {
@@ -54,7 +54,7 @@ export const useTaskRunsK8s = (
5454
isList: true,
5555
}
5656
: {
57-
groupVersionKind: getGroupVersionKindForModel(TaskRunModel),
57+
groupVersionKind: TASK_RUN_GVK,
5858
namespace,
5959
isList: true,
6060
};

0 commit comments

Comments
 (0)