diff --git a/components/dashboard/majles/SearchSection.vue b/components/dashboard/majles/SearchSection.vue index a2b6c29..c2f7a91 100644 --- a/components/dashboard/majles/SearchSection.vue +++ b/components/dashboard/majles/SearchSection.vue @@ -63,8 +63,8 @@
@@ -156,7 +156,8 @@ import searchApi from "~/apis/searchApi"; import { mapState, mapActions } from "pinia"; import { useCommonStore } from "~/stores/commonStore"; import { useStorage } from "@vueuse/core"; -import {clearBodyClass} from "@manuals/utilities" +import { clearBodyClass } from "@manuals/utilities"; +import { useRouter } from "vue-router"; export default { beforeMount() { @@ -164,7 +165,7 @@ export default { }, mounted() { this.setBodyClass("majles-user-panel"); - let localStoageSearchSchema = useStorage("searchSchema",undefined).value; + let localStoageSearchSchema = useStorage("searchSchema", undefined).value; if (localStoageSearchSchema) { let searchSchema = JSON.parse(localStoageSearchSchema); this.schemasSetter(searchSchema); @@ -255,7 +256,9 @@ export default { }, urlResolver(_id) { - return ""; + const router = `search/qasection/${_id}/show`; + + return router; // const routeData = this.$router.resolve({ // path: "navigation", // params: { @@ -272,7 +275,6 @@ export default {