Enhance deployment script and navigation component for improved data handling and user access
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 45s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 45s
This commit updates the deploy-production.sh script to remove tracked public/data CSV files from the Git index and ensures that backup files are restored correctly, with size verification for integrity. Additionally, it modifies the Navigation.vue component to allow access to the gallery for users with newsletter permissions, enhancing user experience and access control.
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
</NuxtLink>
|
||||
|
||||
<NuxtLink
|
||||
v-if="hasGalleryImages"
|
||||
v-if="hasGalleryImages || canAccessNewsletter"
|
||||
to="/verein/galerie"
|
||||
class="px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"
|
||||
active-class="text-white bg-primary-600"
|
||||
@@ -659,7 +659,7 @@
|
||||
</NuxtLink>
|
||||
|
||||
<NuxtLink
|
||||
v-if="hasGalleryImages"
|
||||
v-if="hasGalleryImages || canAccessNewsletter"
|
||||
to="/verein/galerie"
|
||||
class="block px-4 py-3 text-gray-300 hover:text-white hover:bg-primary-700/50 rounded-lg font-medium transition-colors"
|
||||
@click="isMobileMenuOpen = false"
|
||||
|
||||
Reference in New Issue
Block a user