diff --git a/bo/src/router/index.ts b/bo/src/router/index.ts
index f205fa4..5860b69 100644
--- a/bo/src/router/index.ts
+++ b/bo/src/router/index.ts
@@ -9,11 +9,7 @@ function isAuthenticated(): boolean {
if (typeof document === 'undefined') return false
return document.cookie.split('; ').some((c) => c === 'is_authenticated=1')
}
-
-
await getSettings()
-
-
const router = createRouter({
history: createWebHistory(import.meta.env.VITE_BASE_URL),
routes: [
@@ -34,6 +30,7 @@ const router = createRouter({
{ path: 'product-card-full/', component: () => import('../components/customer/PageProductCardFull.vue'), name: 'product-card-full' },
{ path: 'addresses', component: () => import('../components/customer/PageAddresses.vue'), name: 'addresses' },
{ path: 'cart', component: () => import('../components/customer/PageCart.vue'), name: 'cart' },
+ { path: 'products-list', component: () => import('../components/customer/PageProductsList.vue'), name: 'products-list' },
],
},
{
@@ -55,7 +52,6 @@ const router = createRouter({
router.beforeEach((to, from, next) => {
const locale = to.params.locale as string
const localeLang = langs.find((x) => x.iso_code == locale)
-
if (locale && langs.length > 0) {
const authStore = useAuthStore()
console.log(authStore.isAuthenticated, to, from)
@@ -77,7 +73,6 @@ router.beforeEach((to, from, next) => {
if (!locale && to.path !== '/') {
return next(`/${currentLang.value?.iso_code}${to.path}`)
}
-
next()
})
diff --git a/bo/src/stores/address.ts b/bo/src/stores/address.ts
index 4914c0b..6e0859a 100644
--- a/bo/src/stores/address.ts
+++ b/bo/src/stores/address.ts
@@ -95,7 +95,6 @@ export const useAddressStore = defineStore('address', () => {
id: existing.id,
...normalize(formData)
}
-
return true
}
function deleteAddress(id: number): boolean {
diff --git a/bo/src/views/LoginView.vue b/bo/src/views/LoginView.vue
index 20cec7b..caf8cf8 100644
--- a/bo/src/views/LoginView.vue
+++ b/bo/src/views/LoginView.vue
@@ -63,7 +63,6 @@ const PrivacyComponent = computed(() =>
{{ $t('general.close') }}
-
@@ -76,9 +75,9 @@ const PrivacyComponent = computed(() =>
@@ -94,11 +93,12 @@ const PrivacyComponent = computed(() =>
+ :type="showPassword ? 'text' : 'password'" class="w-full placeholder:text-(--placeholder)"
+ :ui="{ trailing: 'pe-1' }">
+ aria-controls="password" @click="showPassword = !showPassword" class="mr-2" />
@@ -114,15 +114,11 @@ const PrivacyComponent = computed(() =>
{{ $t('general.sign_in') }}
-
-
-
-
diff --git a/bo/src/views/PasswordRecoveryView.vue b/bo/src/views/PasswordRecoveryView.vue
index dd8fada..816b6de 100644
--- a/bo/src/views/PasswordRecoveryView.vue
+++ b/bo/src/views/PasswordRecoveryView.vue
@@ -40,9 +40,9 @@ function validate(): FormError[] {
diff --git a/bo/src/views/RegisterView.vue b/bo/src/views/RegisterView.vue
index 71dc802..079baf7 100644
--- a/bo/src/views/RegisterView.vue
+++ b/bo/src/views/RegisterView.vue
@@ -21,9 +21,9 @@
diff --git a/bo/src/views/RepoChartView.vue b/bo/src/views/RepoChartView.vue
index 749817c..ebc8442 100644
--- a/bo/src/views/RepoChartView.vue
+++ b/bo/src/views/RepoChartView.vue
@@ -181,7 +181,7 @@ const columns = computed[]>(() => [
-
+
{{ $t('repo_chart.repository_work_chart') }}
diff --git a/bo/src/views/ResetPasswordForm.vue b/bo/src/views/ResetPasswordForm.vue
index 210e782..0cbb866 100644
--- a/bo/src/views/ResetPasswordForm.vue
+++ b/bo/src/views/ResetPasswordForm.vue
@@ -53,9 +53,9 @@ function validate(): FormError[] {
diff --git a/bo/src/views/VerifyEmailView.vue b/bo/src/views/VerifyEmailView.vue
index 11b594c..34b1921 100644
--- a/bo/src/views/VerifyEmailView.vue
+++ b/bo/src/views/VerifyEmailView.vue
@@ -73,9 +73,9 @@ function goToLogin() {