Skip to content

Commit f19ef3f

Browse files
committed
adding more logs to troubleshoot
1 parent 0de9213 commit f19ef3f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/frontend/components/feedbackBoardContainer.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,10 @@ class FeedbackBoardContainer extends React.Component<FeedbackBoardContainerProps
486486
console.log(searchParams);
487487
console.log(searchParams.keys.length);
488488
console.log(searchParams.values.length);
489-
console.log(searchParams.size);
490489
console.log(searchParams.has("name"));
491-
if (searchParams?.size > 0) {
490+
if (searchParams.has("name")) {
492491
console.log("Creating board from URL parameters");
493-
const currentDate = new Date();
494-
const name = searchParams.get("name") || currentDate.toISOString().split('T')[0];
492+
const name = searchParams.get("name");
495493
const maxVotes = searchParams.get("maxVotes") || "5";
496494
const isTeamAssessment = searchParams.get("isTeamAssessment") || "true";
497495
const columns = getColumnsByTemplateId(searchParams.get("templateId") || "start-stop-continue");

0 commit comments

Comments
 (0)