Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Use the correct id property for the pipeline list

Tianzhou Chen028c9f828d81
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index 13fd4f8b58..e11f79efeb 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -66,7 +66,7 @@ export default {
state.closeList = [];
for (const pipeline of pipelineList) {
if (
- pipeline.attributes.assigneeId === currentUser!.id &&
+ pipeline.attributes.assignee.id === currentUser!.id &&
(pipeline.attributes.status === "CREATED" ||
pipeline.attributes.status === "RUNNING" ||
pipeline.attributes.status === "FAILED")
@@ -80,7 +80,7 @@ export default {
) {
state.subscribeList.push(pipeline);
} else if (
- pipeline.attributes.creatorId === currentUser!.id &&
+ pipeline.attributes.creator.id === currentUser!.id &&
(pipeline.attributes.status === "DONE" ||
pipeline.attributes.status === "CANCELED")
) {