Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): After manual verification, message contained undefined var #1963

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ui/src/features/project/pipelines/pipelines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export const Pipelines = () => {
}
});

layout(g, { labelpos: 'c' });
layout(g, { lablepos: 'c' });

const nodes = myNodes.map((node, index) => {
const gNode = g.node(String(index));
Expand Down Expand Up @@ -448,7 +448,7 @@ export const Pipelines = () => {
message.error(err?.toString());
},
onSuccess: () => {
message.success(`Freight ${confirmingPromotion} has been manually approved.`);
message.success(`Freight ${manuallyApproving} has been manually approved.`);
setManuallyApproving(undefined);
setFreightAction(undefined);
}
Expand Down Expand Up @@ -640,8 +640,8 @@ export const Pipelines = () => {
key: '1',
label: (
<>
<FontAwesomeIcon icon={faCircleCheck} className='mr-2' /> Manually
Approve
<FontAwesomeIcon icon={faCircleCheck} className='mr-2' />
Manually Approve
</>
),
onClick: () => {
Expand Down
Loading