File tree 1 file changed +7
-5
lines changed 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -171,12 +171,14 @@ const MemoActionMenu = observer((props: Props) => {
171
171
</ span >
172
172
</ MenuButton >
173
173
< Menu className = "text-sm" size = "sm" placement = "bottom-end" >
174
- { ! readonly && ! isArchived && ! isComment && (
174
+ { ! readonly && ! isArchived && (
175
175
< >
176
- < MenuItem onClick = { handleTogglePinMemoBtnClick } >
177
- { memo . pinned ? < BookmarkMinusIcon className = "w-4 h-auto" /> : < BookmarkPlusIcon className = "w-4 h-auto" /> }
178
- { memo . pinned ? t ( "common.unpin" ) : t ( "common.pin" ) }
179
- </ MenuItem >
176
+ { ! isComment && (
177
+ < MenuItem onClick = { handleTogglePinMemoBtnClick } >
178
+ { memo . pinned ? < BookmarkMinusIcon className = "w-4 h-auto" /> : < BookmarkPlusIcon className = "w-4 h-auto" /> }
179
+ { memo . pinned ? t ( "common.unpin" ) : t ( "common.pin" ) }
180
+ </ MenuItem >
181
+ ) }
180
182
< MenuItem onClick = { handleEditMemoClick } >
181
183
< Edit3Icon className = "w-4 h-auto" />
182
184
{ t ( "common.edit" ) }
You can’t perform that action at this time.
0 commit comments