Skip to content

Commit

Permalink
Content adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed Feb 14, 2024
1 parent ac205a3 commit 6b8497d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Livewire/ConsentOptionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function infolist(Infolist $infolist): Infolist
TextEntry::make('info')
->label("")
->size(TextEntry\TextEntrySize::Medium)
->default(new HtmlString("Hi {$this->user->firstname}, <br>Please read these terms and conditions carefully, we will email a copy to {$this->user->email}"))
->default(new HtmlString("Hi {$this->user->firstname},<br>Please read these terms and conditions carefully, we will email a copy to {$this->user->email}"))
->extraAttributes(['class'=>'mb-4']),

RepeatableEntry::make('collections')
Expand Down Expand Up @@ -110,9 +110,8 @@ public function infolist(Infolist $infolist): Infolist
->collapsed(function(ConsentOption $record){
$first = $this->user->collections->first();
return !($first->id === $record->id);

})
->persistCollapsed()
// ->persistCollapsed()
->id(fn (ConsentOption $record) => "consent-option-{$record->id}")
,
])
Expand Down

0 comments on commit 6b8497d

Please sign in to comment.