File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
resources/views/components Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Cachet \Database \Seeders ;
4
4
5
+ use Cachet \Enums \ComponentGroupVisibilityEnum ;
5
6
use Cachet \Enums \ComponentStatusEnum ;
6
7
use Cachet \Enums \IncidentStatusEnum ;
7
8
use Cachet \Enums \MetricTypeEnum ;
@@ -54,6 +55,7 @@ public function run(): void
54
55
55
56
$ componentGroup = ComponentGroup::create ([
56
57
'name ' => 'Checkmango ' ,
58
+ 'collapsed ' => ComponentGroupVisibilityEnum::expanded,
57
59
'visible ' => ResourceVisibilityEnum::guest,
58
60
]);
59
61
Original file line number Diff line number Diff line change 2
2
3
3
<div x-data x-disclosure {{ $attributes
4
4
-> merge (array_filter ([
5
- ' default-open' => $componentGroup -> isExpanded () ,
5
+ ' default-open' => $componentGroup -> isExpanded (),
6
6
]))
7
7
-> class ([' overflow-hidden rounded-lg border shadow dark:border-zinc-700' ])
8
8
} } >
You can’t perform that action at this time.
0 commit comments