Skip to content

Commit

Permalink
[ADVAPP-971]: View Student page Files, Care Team, and Subscriptions m…
Browse files Browse the repository at this point in the history
…anager issues (#1095)

* Fix the files relation manager

Signed-off-by: Kevin Ullyott <[email protected]>

* Fix the attach labels

Signed-off-by: Kevin Ullyott <[email protected]>

---------

Signed-off-by: Kevin Ullyott <[email protected]>
  • Loading branch information
Orrison authored Oct 30, 2024
1 parent 02472c4 commit 6b3896a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function table(Table $table): Table
])
->headerActions([
AttachAction::make()
->label('Manage')
->label('New')
->modalHeading(function () {
/** @var Student $student */
$student = $this->getOwnerRecord();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@

namespace AdvisingApp\StudentDataModel\Filament\Resources\StudentResource\RelationManagers;

use Filament\Resources\RelationManagers\RelationManager;
use AdvisingApp\StudentDataModel\Filament\Resources\StudentResource;
use AdvisingApp\Engagement\Filament\Resources\EngagementFileResource\RelationManagers\EngagementFilesRelationManager;

class StudentFilesRelationManager extends RelationManager
class StudentFilesRelationManager extends EngagementFilesRelationManager
{
protected static string $resource = StudentResource::class;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function table(Table $table): Table
])
->headerActions([
AttachAction::make()
->label('Manage')
->label('New')
->modalHeading(function () {
/** @var Student $student */
$student = $this->getOwnerRecord();
Expand Down

0 comments on commit 6b3896a

Please sign in to comment.