From 4d5742a710dc9634573f169205b52f8936b06be1 Mon Sep 17 00:00:00 2001 From: Aditya Veer Parmar Date: Tue, 4 Apr 2023 13:31:13 +0530 Subject: [PATCH] fix: minor bug --- app/modules/Collection/AddField/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/Collection/AddField/index.tsx b/app/modules/Collection/AddField/index.tsx index af5dc03c..98ee36ba 100644 --- a/app/modules/Collection/AddField/index.tsx +++ b/app/modules/Collection/AddField/index.tsx @@ -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; }