Skip to content

Commit d3b6142

Browse files
Fix date order for past incidents in history (#237) (#255)
1 parent 66a4b5e commit d3b6142

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

resources/views/components/incident-timeline.blade.php

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
<div class="flex
99
items-center justify-center gap-2 text-sm text-zinc-500 dark:text-zinc-400"
1010
x-data="{ from: new Date(@js($from)), to: new Date(@js($to)) }">
11+
12+
<x-filament::input.wrapper disabled>
13+
<x-filament::input
14+
type="date"
15+
wire:model="date"
16+
value="{{ $to }}"
17+
disabled
18+
/>
19+
</x-filament::input.wrapper>
20+
&mdash;
1121
<x-filament::input.wrapper :disabled="$recentIncidentsOnly">
1222
<x-filament::input
1323
type="date"
@@ -20,15 +30,6 @@
2030
:disabled="$recentIncidentsOnly"
2131
/>
2232
</x-filament::input.wrapper>
23-
&mdash;
24-
<x-filament::input.wrapper disabled>
25-
<x-filament::input
26-
type="date"
27-
wire:model="date"
28-
value="{{ $to }}"
29-
disabled
30-
/>
31-
</x-filament::input.wrapper>
3233
</div>
3334
</div>
3435

0 commit comments

Comments
 (0)