change nademitex2
This commit is contained in:
@@ -13,7 +13,7 @@ onMounted(() => store.hydrate())
|
||||
|
||||
<template>
|
||||
<div class="page catalog-requests-page">
|
||||
<PageHeader class="mobile-only" title="وضعیت کالیتهها" show-back centered @back="router.push('/catalogs')" />
|
||||
<PageHeader class="mobile-only" title="وضعیت کالیتهها" show-back centered @back="router.push('/products')" />
|
||||
|
||||
<header class="desktop-page__head desktop-only catalog-requests-desk-head">
|
||||
<div>
|
||||
|
||||
@@ -57,7 +57,7 @@ onMounted(async () => {
|
||||
products.value = browse
|
||||
const focusId = String(route.query.id ?? '')
|
||||
if (focusId && catalogs.value.some((item) => item.id === focusId)) {
|
||||
await navigateToCatalogProduct(router, focusId, products.value)
|
||||
await navigateToCatalogProduct(router, focusId)
|
||||
}
|
||||
} catch {
|
||||
catalogs.value = []
|
||||
@@ -67,7 +67,7 @@ onMounted(async () => {
|
||||
})
|
||||
|
||||
function openCatalog(id: string) {
|
||||
void navigateToCatalogProduct(router, id, products.value)
|
||||
void navigateToCatalogProduct(router, id)
|
||||
}
|
||||
|
||||
function focusSearch() {
|
||||
|
||||
Reference in New Issue
Block a user