mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(): update all confirm modals to new design
This commit is contained in:
@@ -37,10 +37,10 @@ export class DataSourcesCtrl {
|
||||
removeDataSource(ds) {
|
||||
|
||||
this.$scope.appEvent('confirm-modal', {
|
||||
title: 'Confirm delete datasource',
|
||||
title: 'Delete',
|
||||
text: 'Are you sure you want to delete datasource ' + ds.name + '?',
|
||||
yesText: "Delete",
|
||||
icon: "fa-warning",
|
||||
icon: "fa-trash",
|
||||
onConfirm: () => {
|
||||
this.removeDataSourceConfirmed(ds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user