Skip to content

Commit

Permalink
Fix label on pages list
Browse files Browse the repository at this point in the history
  • Loading branch information
agentphoenix committed Apr 22, 2024
1 parent d7da8dc commit 273698c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nova/src/Pages/Livewire/PagesList.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public function table(Table $table): Table
->columns([
TextColumn::make('name')
->titleColumn()
->label('Address')
->label('Page name')
->searchable()
->sortable(),
TextColumn::make('uri')
->label('Address')
->label('URL')
->searchable()
->sortable(),
TextColumn::make('verb')
Expand Down Expand Up @@ -185,16 +185,16 @@ public function table(Table $table): Table
}),
])
->filters([
SelectFilter::make('status')->options(PageStatus::class),
SelectFilter::make('verb')
->label('HTTP verb')
->options(PageVerb::class),
TernaryFilter::make('pageType')
->nullable()
->attribute('resource')
->placeholder('All pages')
->trueLabel('Advanced pages')
->falseLabel('Basic pages'),
SelectFilter::make('status')->options(PageStatus::class),
SelectFilter::make('verb')
->label('HTTP verb')
->options(PageVerb::class),
])
->emptyStateIcon(iconName('list'))
->emptyStateHeading('No pages found')
Expand Down

0 comments on commit 273698c

Please sign in to comment.