feat(common): handleConfirm -> handleActivateA, handleCancel -> handleActivateB
This commit is contained in:
@@ -70,7 +70,7 @@ const actionateButton = async (button: (typeof selected)["value"]) => {
|
||||
const url = content.replace(/^https?:\/\//, "");
|
||||
confirmationModal.open({
|
||||
text: $t("contact.openUrl", { url }),
|
||||
onConfirm: async () => {
|
||||
onActivateA: async () => {
|
||||
store.pushNotification($t("contact.opened", { item: verb }));
|
||||
await promiseTimeout(100);
|
||||
await navigateTo(content, { open: { target: "_blank " } });
|
||||
|
||||
Reference in New Issue
Block a user