fix(ui): could not show certificates or private keys in WorkflowRunDetail

This commit is contained in:
Fu Diwei 2025-11-24 17:51:12 +08:00
parent ba3eca162d
commit 2df3ab70f5

View File

@ -65,7 +65,7 @@ export const listByWorkflowRunId = async (workflowRunId: string) => {
const list = await pb.collection(COLLECTION_NAME_CERTIFICATE).getFullList<CertificateModel>({
batch: 65535,
fields: [..._commonFields, ..._expandFields].join(","),
fields: [..._commonFields, ..._expandFields, "certificate", "privateKey"].join(","),
filter: pb.filter("workflowRunRef={:workflowRunId}", { workflowRunId }),
sort: "created",
requestKey: null,