mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
fix: hide edit option for default prompts
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user