Beautiful Open-Source Form Builder
Update Navbar.vue and FormCleanings.vue for Improved Logic and UI Consistency
Julien Nahum3e80c88527f7
diff --git a/client/components/global/Navbar.vue b/client/components/global/Navbar.vueindex 5bb2fcecb..14dca9581 100644--- a/client/components/global/Navbar.vue+++ b/client/components/global/Navbar.vue@@ -317,7 +317,7 @@ export default {if (this.isIframe) return falseif (this.$route.name && this.$route.name === "forms-slug") {- if (this.form) {+ if (this.form || import.meta.server) {return false} else {// Form not found/404 case - show the navbardiff --git a/client/components/pages/forms/show/FormCleanings.vue b/client/components/pages/forms/show/FormCleanings.vueindex bb31dc854..b72d56ab8 100644--- a/client/components/pages/forms/show/FormCleanings.vue+++ b/client/components/pages/forms/show/FormCleanings.vue@@ -7,7 +7,7 @@><div class="flex justify-center items-center self-start py-px"><Icon- name="bi:stars"+ name="i-heroicons-sparkles-16-solid"class="w-6 h-6 text-nt-blue"/></div>