mirror of https://github.com/harness/drone.git
fix: [CDE-574]: fixed the special character string parsing issue in the delete popup title (#3209)
* fix: fixed the special character string parsing issue in the delete popup titleBT-10437
parent
f42ed15bfa
commit
aac9ace779
|
@ -584,7 +584,7 @@ export const RenderActions = ({ row, refreshList }: RenderActionsProps) => {
|
|||
const handleDelete = async (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => {
|
||||
confirmDelete({
|
||||
intent: 'danger',
|
||||
title: getString('cde.deleteGitspaceTitle', { name: name }),
|
||||
title: `${getString('cde.deleteGitspace')} '${name}'`,
|
||||
message: getString('cde.deleteGitspaceText'),
|
||||
confirmText: getString('delete'),
|
||||
action: async () => {
|
||||
|
|
|
@ -178,7 +178,7 @@ const GitspaceDetails = () => {
|
|||
const handleDelete = async (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => {
|
||||
confirmDelete({
|
||||
intent: 'danger',
|
||||
title: getString('cde.deleteGitspaceTitle', { name: data?.name }),
|
||||
title: `${getString('cde.deleteGitspace')} '${data?.name}'`,
|
||||
message: getString('cde.deleteGitspaceText'),
|
||||
confirmText: getString('delete'),
|
||||
action: async () => {
|
||||
|
|
Loading…
Reference in New Issue