Skip to content

Commit 429729f

Browse files
committed
fix: wrong argument used on getPageUrlFromId breaks page listing on filament v4
1 parent 1a141a7 commit 429729f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/PageResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public static function table(Table $table): Table
174174
EditAction::make(),
175175
Action::make('visit')
176176
->label(__('filament-fabricator::page-resource.actions.visit'))
177-
->url(fn (?PageContract $record) => FilamentFabricator::getPageUrlFromId($record->id, true) ?: null)
177+
->url(fn (?PageContract $record) => FilamentFabricator::getPageUrlFromId($record->id) ?: null)
178178
->icon('heroicon-o-arrow-top-right-on-square')
179179
->openUrlInNewTab()
180180
->color('success')

0 commit comments

Comments
 (0)