1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00
portainer/app/react/kubernetes/cluster/RegistryAccessView/ConfirmDeleteAccess.tsx
Ali 14a581e86b
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>
2023-05-04 16:23:27 +12:00

19 lines
583 B
TypeScript

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'),
});
}