Skip to content

Commit 5fd5849

Browse files
committed
Add close label
1 parent 2d754ab commit 5fd5849

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Resources/UserResource/Pages/ViewUser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ public function table(Table $table): Table
245245
])
246246
->modalFooterActionsAlignment(Alignment::Center)
247247
->modalSubmitAction(fn(Action $action) => $action->visible(false))
248+
->modalCancelActionLabel(fn(): string => __('Close')),
248249
]);
249250
}
250251
}

0 commit comments

Comments
 (0)