mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 17:15:40 -06:00
Nested folders: update delete modal title to just be "Delete" (#68999)
update delete modal title to just be "Delete"
This commit is contained in:
parent
65e2df7a2e
commit
6613610f07
@ -28,7 +28,7 @@ describe('browse-dashboards DeleteModal', () => {
|
||||
it('renders a dialog with the correct title', async () => {
|
||||
render(<DeleteModal {...defaultProps} />);
|
||||
|
||||
expect(await screen.findByRole('dialog', { name: 'Delete Compute Resources' })).toBeInTheDocument();
|
||||
expect(await screen.findByRole('dialog', { name: 'Delete' })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('displays a `Delete` button', async () => {
|
||||
|
@ -34,7 +34,7 @@ export const DeleteModal = ({ onConfirm, onDismiss, selectedItems, ...props }: P
|
||||
confirmText="Delete"
|
||||
onDismiss={onDismiss}
|
||||
onConfirm={onDelete}
|
||||
title="Delete Compute Resources"
|
||||
title="Delete"
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user