We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b2c37 commit dbd5fb4Copy full SHA for dbd5fb4
src/components/Feed/FeedComments.jsx
@@ -324,7 +324,7 @@ class FeedComments extends React.Component {
324
allMembers={allMembers}
325
projectMembers={projectMembers}
326
noInfo={item.noInfo}
327
- canDelete={idx !== 0}
+ canDelete={idx !== comments.length - 1} // cannot delete the first post which is now shown as a last one
328
commentAnchorPrefix={commentAnchorPrefix}
329
>
330
<div dangerouslySetInnerHTML={{__html: markdownToHTML(itemContent)}} />
0 commit comments