fix: hide edit option for default prompts

This commit is contained in:
Mason Hu
2024-11-13 14:51:48 +02:00
parent 6b9519b56f
commit 2fe3cb2b22

View File

@@ -140,7 +140,7 @@ function Dropdown({
: option.description : option.description
}`} }`}
</span> </span>
{showEdit && onEdit && ( {showEdit && onEdit && option.type !== 'public' && (
<img <img
src={Edit} src={Edit}
alt="Edit" alt="Edit"