Skip to content

Commit

Permalink
Merge pull request meshery#11564 from sudhanshutech/bug/filter
Browse files Browse the repository at this point in the history
fix bug of publish filter
  • Loading branch information
sudhanshutech authored Aug 6, 2024
2 parents 56acb27 + 53d1314 commit 54b0c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/components/Filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ const ImportModal = React.memo((props) => {
});

const PublishModal = React.memo((props) => {
const { publishFormSchema, handleClose, handlePublish, title } = props;
const { publishFormSchema, handleClose, handleSubmit, title } = props;

return (
<UsesSistent>
Expand All @@ -1488,7 +1488,7 @@ const PublishModal = React.memo((props) => {
schema={publishFormSchema.rjsfSchema}
uiSchema={publishFormSchema.uiSchema}
submitBtnText="Submit for Approval"
handleSubmit={handlePublish}
handleSubmit={handleSubmit}
helpText="Upon submitting your catalog item, an approval flow will be initiated.[Learn more](https://docs.meshery.io/concepts/catalog)"
handleClose={handleClose}
/>
Expand Down

0 comments on commit 54b0c0f

Please sign in to comment.