refactor: Remove recordTitleAttribute from all Filament resource tables.
This commit is contained in:
parent
f1d1058868
commit
bf59f1afc6
@ -54,7 +54,6 @@ public static function getBadge(Model $ownerRecord, string $pageClass): ?string
|
|||||||
public function table(Table $table): Table
|
public function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('e_catalog')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('partnerMedia.name')
|
TextColumn::make('partnerMedia.name')
|
||||||
->label('Media')
|
->label('Media')
|
||||||
|
|||||||
@ -104,7 +104,6 @@ public function form(Schema $schema): Schema
|
|||||||
public function table(Table $table): Table
|
public function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('title')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('title')
|
TextColumn::make('title')
|
||||||
->label('Judul')
|
->label('Judul')
|
||||||
|
|||||||
@ -40,7 +40,6 @@ public static function canViewForRecord(Model $ownerRecord, string $pageClass):
|
|||||||
public function table(Table $table): Table
|
public function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('task_description')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('start_date')
|
TextColumn::make('start_date')
|
||||||
->label('Mulai')
|
->label('Mulai')
|
||||||
|
|||||||
@ -130,7 +130,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->label('Nama')
|
->label('Nama')
|
||||||
|
|||||||
@ -273,7 +273,6 @@ public static function infolist(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('company.name')
|
TextColumn::make('company.name')
|
||||||
->label('Perusahaan')
|
->label('Perusahaan')
|
||||||
|
|||||||
@ -59,7 +59,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->label('Nama')
|
->label('Nama')
|
||||||
|
|||||||
@ -61,7 +61,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->label('Nama')
|
->label('Nama')
|
||||||
|
|||||||
@ -67,7 +67,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->label('Nama')
|
->label('Nama')
|
||||||
|
|||||||
@ -61,7 +61,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->label('Nama')
|
->label('Nama')
|
||||||
|
|||||||
@ -72,7 +72,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('classification.name')
|
TextColumn::make('classification.name')
|
||||||
->label('Klasifikasi')
|
->label('Klasifikasi')
|
||||||
|
|||||||
@ -72,7 +72,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('location.name')
|
TextColumn::make('location.name')
|
||||||
->label('Lokasi')
|
->label('Lokasi')
|
||||||
|
|||||||
@ -61,7 +61,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('name')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->label('Nama')
|
->label('Nama')
|
||||||
|
|||||||
@ -95,7 +95,6 @@ public static function form(Schema $schema): Schema
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->recordTitleAttribute('content')
|
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('title')
|
TextColumn::make('title')
|
||||||
->label('Judul')
|
->label('Judul')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user