mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +00:00
Merge pull request #370 from we-promise/copilot/fix-custom-range-error
Fix 500 error when custom date range end date precedes start date
This commit is contained in:
@@ -9,6 +9,13 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<%# Flash messages %>
|
||||
<% if flash[:alert].present? %>
|
||||
<div class="p-3 rounded-lg bg-destructive-surface text-sm text-destructive">
|
||||
<%= flash[:alert] %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%# Period Navigation Tabs %>
|
||||
<div class="flex items-center gap-2 overflow-x-auto pb-2">
|
||||
<%= render DS::Link.new(
|
||||
|
||||
Reference in New Issue
Block a user