mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
chore(kubernetes): Migrate Helm Templates View to React R8S-239 (#587)
This commit is contained in:
parent
ad89df4d0d
commit
264ff5457b
20 changed files with 635 additions and 372 deletions
|
@ -47,6 +47,16 @@ export function confirmWebEditorDiscard() {
|
|||
});
|
||||
}
|
||||
|
||||
export function confirmGenericDiscard() {
|
||||
return openConfirm({
|
||||
modalType: ModalType.Warn,
|
||||
title: 'Are you sure?',
|
||||
message:
|
||||
'You currently have unsaved changes. Are you sure you want to leave?',
|
||||
confirmButton: buildConfirmButton('Yes', 'danger'),
|
||||
});
|
||||
}
|
||||
|
||||
export function confirmDelete(message: ReactNode) {
|
||||
return confirmDestructive({
|
||||
title: 'Are you sure?',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue