fix: hide edit option for default prompts

This commit is contained in:
Mason Hu committed 2024-11-13 14:51:48 +02:00
1 parent 6b9519b56f
commit 2fe3cb2b22
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ function Dropdown({
: option.description
}`}
</span>
{showEdit && onEdit && (
{showEdit && onEdit && option.type !== 'public' && (
<img
src={Edit}
alt="Edit"