Skip to content

Commit bb18faa

Browse files
committed
Fix formatting of actions method in SystemReport lens
1 parent 3d6e03f commit bb18faa

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

app/Nova/Lenses/SystemReport.php

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,16 @@ public function filters(NovaRequest $request): array
119119
*/
120120
public function actions(NovaRequest $request): array
121121
{
122-
return [SetStatus::make()
123-
->confirmButtonText('Ubah Status')
124-
->confirmText('Pastikan Error sudah diperbaiki. Yakin akan melanjutkan?')
125-
->setName('Resolve Error')
126-
->setStatus(true, 'resolved')
127-
->sole()
128-
->onlyInline()
129-
->canSee(fn () => Policy::make()->allowedFor('admin')->get()), ];
122+
return [
123+
SetStatus::make()
124+
->confirmButtonText('Ubah Status')
125+
->confirmText('Pastikan Error sudah diperbaiki. Yakin akan melanjutkan?')
126+
->setName('Resolve Error')
127+
->setStatus(true, 'resolved')
128+
->sole()
129+
->onlyInline()
130+
->canSee(fn () => Policy::make()->allowedFor('admin')->get()),
131+
];
130132
}
131133

132134
/**

0 commit comments

Comments
 (0)