File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
4
4
5
5
## [ Unreleased]
6
6
7
+ ### Changed
8
+
9
+ - Fixed offline indicators to display block
10
+
7
11
## [ 1.2.2] - 2021-04-23
8
12
9
13
### Changed
Original file line number Diff line number Diff line change 1
1
@if ($offlineIndicator )
2
- <div wire:offline >
2
+ <div wire:offline.class.remove = " d-none " class = " d-none " >
3
3
<div class =" alert alert-danger d-flex align-items-center" >
4
4
<svg xmlns =" http://www.w3.org/2000/svg" style =" width :1.3em ;height :1.3em ;" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" >
5
5
<path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
Original file line number Diff line number Diff line change 1
1
@if ($offlineIndicator )
2
- <div wire:offline >
2
+ <div wire:offline.class.remove = " d-none " class = " d-none " >
3
3
<div class =" alert alert-danger d-flex align-items-center" >
4
4
<svg xmlns =" http://www.w3.org/2000/svg" style =" width :1.3em ;height :1.3em ;" fill =" none" viewBox =" 0 0 24 24" stroke =" currentColor" >
5
5
<path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
Original file line number Diff line number Diff line change 1
1
@if ($offlineIndicator )
2
- <div wire:offline >
2
+ <div wire:offline.class.remove = " hidden " class = " hidden " >
3
3
<div class =" rounded-md bg-red-50 p-4 mb-4" >
4
4
<div class =" flex" >
5
5
<div class =" flex-shrink-0" >
You can’t perform that action at this time.
0 commit comments