+
}
+ className='mr-2 ml-auto'
+ onClick={() => {
+ showEdit((p) => (
+
+ ));
+ }}
+ >
+ Edit
+
+
}
+ danger
+ loading={isDeleting}
+ onClick={() => {
+ confirm({
+ title: (
+
+
+ Delete Cluster Analysis Template
+
+ ),
+ content: (
+
+ Are you sure you want to delete ClusterAnalysisTemplate{' '}
+ {template?.metadata?.name}?
+
+ ),
+ onOk: () => {
+ deleteTemplate({ name: template?.metadata?.name || '' });
+ },
+ hide: () => {}
+ });
+ }}
+ >
+ Delete
+
+
+ )}
+ />
+