Beautiful Open-Source Form Builder
fix subscription success page (#636)
Chirag Chhatralac927a235f85a
diff --git a/client/components/open/forms/components/FormEditorErrorHandler.vue b/client/components/open/forms/components/FormEditorErrorHandler.vueindex 42c969f01..ab09bae5f 100644--- a/client/components/open/forms/components/FormEditorErrorHandler.vue+++ b/client/components/open/forms/components/FormEditorErrorHandler.vue@@ -69,7 +69,7 @@errorReport += ` And here are technical details about the error: \`\`\`${error.stack}\`\`\``try {crisp.openAndShowChat(errorReport)- crisp.showMessage(`Hi there, we're very sorry to hear you experienced an issue with NoteForms.+ crisp.showMessage(`Hi there, we're very sorry to hear you experienced an issue with OpnForm.We'll be in touch about it very soon! In the meantime, I recommend that you try going back one step, and save your changes.`, 2000)} catch (e) {console.error('Crisp error', e)diff --git a/client/pages/home.vue b/client/pages/home.vueindex c8425a42e..f0686d169 100644--- a/client/pages/home.vue+++ b/client/pages/home.vue@@ -199,7 +199,7 @@<template #description><div class="flex flex-wrap sm:flex-nowrap gap-4 items-start"><p class="flex-grow">- Remove NoteForms branding, customize forms further, use your custom domain, integrate with your+ Remove OpnForm branding, customize forms further, use your custom domain, integrate with yourfavorite tools, invite users, and more!</p><UButtondiff --git a/client/pages/subscriptions/success.vue b/client/pages/subscriptions/success.vueindex 2941c5445..ea7dc66a7 100644--- a/client/pages/subscriptions/success.vue+++ b/client/pages/subscriptions/success.vue@@ -44,7 +44,7 @@ const redirectIfSubscribed = () => {}const checkSubscription = () => {// Fetch the user.- return noteFormsFetch('user').then((data) => {+ return opnFetch('user').then((data) => {authStore.setUser(data)redirectIfSubscribed()}).catch((error) => {