Skip to content

Commit

Permalink
Update resource data field panel for state #39
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts committed Mar 18, 2021
1 parent b51f673 commit 057c443
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Nova/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public function fields(Request $request)

protected function dataFields(): array
{
return [
ID::make(),
Date::make('Created At')->exceptOnForms(),
Date::make('Updated At')->exceptOnForms(),
];
return array_merge(
parent::dataFields(),
$this->creatorDataFields(),
$this->updaterDataFields(),
);
}
}

0 comments on commit 057c443

Please sign in to comment.