Skip to content

Commit

Permalink
fix: possible to schedule stream in the past (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
efstajas authored May 2, 2024
1 parent a6ee367 commit a319eda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/flows/create-stream-flow/input-details.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
!setStartAndEndDate ||
(combinedStartDate &&
combinedEndDate &&
combinedStartDate.getTime() > new Date().getTime() &&
combinedStartDate?.getTime() < combinedEndDate?.getTime());
$: formValid =
Expand Down

0 comments on commit a319eda

Please sign in to comment.