Skip to content

Commit b13dc11

Browse files
Merge pull request #139 from SingularityNET-Archive:development
refactor: Fixed noSummaryGiven bug that caused duplicate summaries
2 parents 0ff9856 + f39d65c commit b13dc11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/submit-meeting-summary/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ const SubmitMeetingSummary: NextPage = () => {
280280
noSummaryGiven(); // Your existing function to handle no summary
281281
} else if (newStatus === 'canceledSummary') {
282282
// Implement logic for canceled summary
283+
//console.log("Canceled Summary", myVariable);
283284
setMyVariable(prevMyVariable => ({
284285
...prevMyVariable,
285286
summary: {
@@ -364,7 +365,7 @@ const SubmitMeetingSummary: NextPage = () => {
364365
title="All values will be cleared, so please make sure to select all dropdowns and fill in all fields"
365366
>Clear Summary
366367
</button>
367-
{myVariable.roles?.isAdmin && activeComponent == 'four' && (
368+
{myVariable.roles?.isAdmin && (
368369
<select
369370
className={styles.select}
370371
value={summaryStatus}

0 commit comments

Comments
 (0)