mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
update extensions & webhooks confirmation text
This commit is contained in:
@@ -52,8 +52,7 @@ export default function Extensions() {
|
||||
const handleClose = () => {
|
||||
if (edited) {
|
||||
requestConfirmation({
|
||||
title: "Discard changes",
|
||||
body: "You will lose changes you have made to extensions",
|
||||
title: "Discard changes?",
|
||||
confirm: "Discard",
|
||||
handleConfirm: () => {
|
||||
setLocalExtensionsObjects(currentExtensionObjects);
|
||||
@@ -157,8 +156,8 @@ export default function Extensions() {
|
||||
|
||||
const handleDelete = (index: number) => {
|
||||
requestConfirmation({
|
||||
title: `Delete ${localExtensionsObjects[index].name}?`,
|
||||
body: "This extension will be permanently deleted.",
|
||||
title: `Delete “${localExtensionsObjects[index].name}”?`,
|
||||
body: "This Extension will be permanently deleted when you save",
|
||||
confirm: "Confirm",
|
||||
handleConfirm: () => {
|
||||
setLocalExtensionsObjects(
|
||||
|
||||
@@ -45,8 +45,7 @@ export default function Webhooks() {
|
||||
const handleClose = () => {
|
||||
if (edited) {
|
||||
requestConfirmation({
|
||||
title: "Discard changes",
|
||||
body: "You will lose changes you have made to webhooks",
|
||||
title: "Discard changes?",
|
||||
confirm: "Discard",
|
||||
handleConfirm: () => {
|
||||
setLocalWebhooksObjects(currentWebhooks);
|
||||
@@ -137,8 +136,8 @@ export default function Webhooks() {
|
||||
|
||||
const handleDelete = (index: number) => {
|
||||
requestConfirmation({
|
||||
title: `Delete ${localWebhooksObjects[index].name}?`,
|
||||
body: "This webhook will be permanently deleted.",
|
||||
title: `Delete “${localWebhooksObjects[index].name}”?`,
|
||||
body: "This webhook will be permanently deleted when you save",
|
||||
confirm: "Confirm",
|
||||
handleConfirm: () => {
|
||||
setLocalWebhooksObjects(
|
||||
|
||||
Reference in New Issue
Block a user