Skip to content

Commit faa5c21

Browse files
send appid from props
1 parent 5e00cbf commit faa5c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/app/details/triggerView/ciMaterial.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class CIMaterial extends Component<CIMaterialProps, CIMaterialState> {
252252
savingRegexValue: true,
253253
})
254254
const payload: any = {
255-
appId: +this.props.match.params.appId,
255+
appId: Number(this.props.match.params.appId ?? this.props.appId),
256256
id: +this.props.workflowId,
257257
ciPipelineMaterial: [],
258258
}

0 commit comments

Comments
 (0)