fix(announcement): change width modal

This commit is contained in:
Yoga Pangestu 2026-02-02 15:33:27 +07:00
parent d188cf382c
commit f278a2d9c0
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ public static function table(Table $table): Table
])
->recordActions([
EditAction::make()
->modalWidth(Width::TwoExtraLarge)
->modalWidth(Width::FiveExtraLarge)
->visible(fn (Announcement $record): bool => $record->type === AnnouncementType::PUBLIC),
DeleteAction::make(),

View File

@ -30,7 +30,7 @@ protected function getHeaderActions(): array
$action->makeModalSubmitAction('createAnother', arguments: ['another' => true])
->label('Simpan dan Tambah Lagi'),
])
->modalWidth(Width::TwoExtraLarge)
->modalWidth(Width::FiveExtraLarge)
->after(function (array $data) {
if ($data['type'] === AnnouncementType::PUBLIC) {
return;