mirror of
https://github.com/harness/drone.git
synced 2025-05-21 11:29:52 +08:00
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
This commit is contained in:
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
Block a user