diff --git a/messages/en-US.json b/messages/en-US.json index 6ba164f3..5dfe313b 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -153,8 +153,7 @@ "protected": "Protected", "notProtected": "Not Protected", "resourceMessageRemove": "Once removed, the resource will no longer be accessible. All targets associated with the resource will also be removed.", - "resourceMessageConfirm": "To confirm, please type the name of the resource below.", - "resourceQuestionRemove": "Are you sure you want to remove the resource {selectedResource} from the organization?", + "resourceQuestionRemove": "Are you sure you want to remove the resource from the organization?", "resourceHTTP": "HTTPS Resource", "resourceHTTPDescription": "Proxy requests to your app over HTTPS using a subdomain or base domain.", "resourceRaw": "Raw TCP/UDP Resource", diff --git a/src/components/ConfirmDeleteDialog.tsx b/src/components/ConfirmDeleteDialog.tsx index db6415db..499d0887 100644 --- a/src/components/ConfirmDeleteDialog.tsx +++ b/src/components/ConfirmDeleteDialog.tsx @@ -118,7 +118,7 @@ export default function InviteUserForm({
- {t("resourceQuestionRemove", { - selectedResource: - selectedResource?.name || - selectedResource?.id - })} +
+ {t("resourceQuestionRemove")} +
++ {t("resourceMessageRemove")}
- -{t("resourceMessageRemove")}
- -{t("resourceMessageConfirm")}
- {t("resourceQuestionRemove", { - selectedResource: - selectedInternalResource?.name || - selectedInternalResource?.id - })} +
+ {t("resourceQuestionRemove")} +
++ {t("resourceMessageRemove")}
- -{t("resourceMessageRemove")}
- -{t("resourceMessageConfirm")}