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 title
BT-10437
Neel Khamar 2024-12-31 11:06:51 +00:00 committed by Harness
parent f42ed15bfa
commit aac9ace779
2 changed files with 2 additions and 2 deletions

View File

@ -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 () => {

View File

@ -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 () => {