Skip to content

Commit

Permalink
chore: release shareSummary (#10511)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickoferrall authored Nov 25, 2024
1 parent 9c2d59d commit ede3866
Showing 1 changed file with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,12 @@ const RetroTopic = (props: Props) => {
graphql`
fragment RetroTopic_meeting on RetrospectiveMeeting {
id
organization {
hasShareSummaryFlag: featureFlag(featureName: "shareSummary")
}
}
`,
meetingRef
)

const {id: meetingId} = meeting
const hasShareSummaryFlag = meeting.organization.hasShareSummaryFlag
const {reflectionGroup, discussion, id: stageId} = stage
const {commentCount, discussionSummary} = discussion
const {reflections, title, voteCount} = reflectionGroup
Expand Down Expand Up @@ -169,17 +165,15 @@ const RetroTopic = (props: Props) => {
{commentLinkLabel}
</AnchorIfEmail>
</td>
{hasShareSummaryFlag && (
<td style={{padding: '10px'}}>
<ShareTopic
isEmail={isEmail}
isDemo={isDemo}
meetingId={meetingId}
stageId={stageId}
appOrigin={appOrigin}
/>
</td>
)}
<td style={{padding: '10px'}}>
<ShareTopic
isEmail={isEmail}
isDemo={isDemo}
meetingId={meetingId}
stageId={stageId}
appOrigin={appOrigin}
/>
</td>
</tr>
</table>
</td>
Expand Down

0 comments on commit ede3866

Please sign in to comment.