mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(dialog): dialog migration issues [EE-5385] (#8849)
* fix(dialog): dialog migration issues [EE-5385] * don't highlight slider tooltip text --------- Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
ed279ba65b
commit
14a581e86b
8 changed files with 120 additions and 56 deletions
|
@ -0,0 +1,19 @@
|
|||
import { confirmDestructive } from '@@/modals/confirm';
|
||||
import { buildConfirmButton } from '@@/modals/utils';
|
||||
|
||||
export function confirmDeleteAccess() {
|
||||
return confirmDestructive({
|
||||
title: 'Are you sure?',
|
||||
message: (
|
||||
<>
|
||||
<p>
|
||||
This registry might be used by one or more applications inside this
|
||||
environment. Removing the registry access could lead to a service
|
||||
interruption for these applications.
|
||||
</p>
|
||||
<p>Do you wish to continue?</p>
|
||||
</>
|
||||
),
|
||||
confirmButton: buildConfirmButton('Remove', 'danger'),
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue