From 5ae0535935b59f3488a08200ab01827fc3ca1bf5 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Wed, 6 Aug 2025 05:40:33 +0000 Subject: [PATCH] fix: Restore "Get someone to onboard you" button functionality Replace notify.confirm() with $notify() in ProjectsView to support complex modal with custom Yes/No buttons and routing callbacks for non-registered users. --- src/views/ProjectsView.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 84db4f02..7c4f0560 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -638,16 +638,18 @@ export default class ProjectsView extends Vue { * - Alternative sharing methods for remote users */ promptForShareMethod() { - this.notify.confirm( - NOTIFY_CAMERA_SHARE_METHOD.title, - NOTIFY_CAMERA_SHARE_METHOD.text, + this.$notify( { + group: "modal", + type: "confirm", + title: NOTIFY_CAMERA_SHARE_METHOD.title, + text: NOTIFY_CAMERA_SHARE_METHOD.text, onYes: () => this.handleQRCodeClick(), onNo: () => this.$router.push({ name: "share-my-contact-info" }), yesText: NOTIFY_CAMERA_SHARE_METHOD.yesText, noText: NOTIFY_CAMERA_SHARE_METHOD.noText, - timeout: TIMEOUTS.MODAL, }, + TIMEOUTS.MODAL, ); }