mirror of https://github.com/portainer/portainer
20 lines
583 B
XML
20 lines
583 B
XML
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'),
|
|
});
|
|
}
|