Update Navbar.vue and FormCleanings.vue for Improved Logic and UI Consistency
- Modified Navbar.vue to enhance form validation logic by allowing access when `import.meta.server` is true, improving handling of form states in specific routes. - Updated FormCleanings.vue to replace the icon name from "bi:stars" to "i-heroicons-sparkles-16-solid", ensuring consistency with the icon library used across the application. These changes aim to improve the user experience and maintainability of the components by refining logic and standardizing UI elements.
This commit is contained in:
@@ -317,7 +317,7 @@ export default {
|
||||
if (this.isIframe) return false
|
||||
|
||||
if (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 navbar
|
||||
|
||||
Reference in New Issue
Block a user