Skip to content

Commit

Permalink
fix: minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
avp1598 committed Apr 4, 2023
1 parent 7739dad commit 4d5742a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/Collection/AddField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default function AddField({ propertyName, pageId, handleClose }: Props) {
});
}
} else {
if (!pageId) {
if (!pageId && collection.collectionType === 0) {
toast.error("Pageid is missing, try again");
return;
}
Expand Down

0 comments on commit 4d5742a

Please sign in to comment.