chore: fix code style

This commit is contained in:
binaryfire
2025-03-31 08:11:38 +00:00
committed by github-actions[bot]
parent 83849ed024
commit 734a1c6003
4 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ Route::middleware('filament.actions')
->name('filament.')
->prefix($prefix)
->group(function () {
Route::get("/exports/{export}/download", DownloadExport::class)
Route::get('/exports/{export}/download', DownloadExport::class)
->name('exports.download');
Route::get("/imports/{import}/failed-rows/download", DownloadImportFailureCsv::class)
Route::get('/imports/{import}/failed-rows/download', DownloadImportFailureCsv::class)
->name('imports.failed-rows.download');
});
@@ -34,7 +34,9 @@
<span
x-text="
window.pluralize(@js(__('filament-tables::table.selection_indicator.selected_count')), {{ $selectedRecordsPropertyName }}.length, {
count: new Intl.NumberFormat(@js(str_replace('_', '-', $locale))).format({{ $selectedRecordsPropertyName }}.length),
count: new Intl.NumberFormat(@js(str_replace('_', '-', $locale))).format(
{{ $selectedRecordsPropertyName }}.length,
),
})
"
class="text-sm font-medium leading-6 text-gray-700 dark:text-gray-200"
@@ -117,7 +117,7 @@ test('actions will not interfere with database transactions on an error', functi
$transactionLevel = DB::transactionLevel();
try {
livewire(PostResource\Pages\EditPost::class, [
livewire(EditPost::class, [
'record' => $post->getKey(),
])
->callAction('randomize_title');
@@ -123,7 +123,7 @@ test('table actions will not interfere with database transactions on an error',
$transactionLevel = DB::transactionLevel();
try {
livewire(PostResource\Pages\ListPosts::class)
livewire(ListPosts::class)
->callTableAction('randomize_title', $post);
} catch (Exception $e) {
// This can be catched and handled somewhere else, code continues...