Skip to content

Commit 2c40941

Browse files
committed
Remove Edit Description
1 parent 39b3ce4 commit 2c40941

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

app/Filament/Resources/PluginResource/Pages/EditPlugin.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,6 @@ protected function getHeaderActions(): array
7575
->modalDescription(fn () => "This will convert '{$this->record->name}' from free to paid, set up pricing, and trigger a Satis build so it's available via Composer.")
7676
->modalSubmitActionLabel('Convert & Ingest'),
7777

78-
Actions\Action::make('editDescription')
79-
->label('Edit Description')
80-
->icon('heroicon-o-pencil-square')
81-
->color('gray')
82-
->form([
83-
Forms\Components\Textarea::make('description')
84-
->label('Description')
85-
->required()
86-
->rows(5)
87-
->maxLength(1000)
88-
->default(fn () => $this->record->description)
89-
->placeholder('Describe what this plugin does...'),
90-
])
91-
->action(fn (array $data) => $this->record->updateDescription($data['description'], auth()->id()))
92-
->modalHeading('Edit Plugin Description')
93-
->modalDescription(fn () => "Update the description for '{$this->record->name}'"),
94-
9578
Actions\Action::make('grantToUser')
9679
->label('Grant to User')
9780
->icon('heroicon-o-gift')

0 commit comments

Comments
 (0)