Update imports
This commit is contained in:
parent
c3aa6605ff
commit
e1047621e2
|
@ -190,6 +190,7 @@ import researchApi from "~/apis/researchApi";
|
||||||
|
|
||||||
import { mapState, mapActions } from "pinia";
|
import { mapState, mapActions } from "pinia";
|
||||||
import { useResearchStore } from "../../../stores/researchStore";
|
import { useResearchStore } from "../../../stores/researchStore";
|
||||||
|
import { useCommonStore } from "~/stores/commonStore";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -278,7 +279,7 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(["userPermisionGetter", "currentUser", "selectedlists"]),
|
...mapState(["userPermisionGetter", "currentUser", "selectedlists"]),
|
||||||
...mapState(useResearchStore, ["researchSchemaGetter"]),
|
...mapState(useResearchStore, ["researchSchemaGetter"]),
|
||||||
...mapState(useSearchStore, ["searchActiveTabGetter"]),
|
...mapState(useCommonStore, ["searchActiveTabGetter"]),
|
||||||
|
|
||||||
showActionMenu() {
|
showActionMenu() {
|
||||||
let show = false;
|
let show = false;
|
||||||
|
|
|
@ -584,11 +584,6 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(useSearchStore, [
|
|
||||||
"domainActiveGetter",
|
|
||||||
"searchActiveTabGetter",
|
|
||||||
"searchSchemaGetter",
|
|
||||||
]),
|
|
||||||
...mapState(useResearchStore, [
|
...mapState(useResearchStore, [
|
||||||
"researchSchemaGetter",
|
"researchSchemaGetter",
|
||||||
"researchActiveSchemaGetter",
|
"researchActiveSchemaGetter",
|
||||||
|
@ -597,6 +592,9 @@ export default {
|
||||||
"selectedlists",
|
"selectedlists",
|
||||||
"organNameGetter",
|
"organNameGetter",
|
||||||
"isSidebarCollapsed",
|
"isSidebarCollapsed",
|
||||||
|
"searchSchemaGetter",
|
||||||
|
"domainActiveGetter",
|
||||||
|
"searchActiveTabGetter",
|
||||||
]),
|
]),
|
||||||
...mapState(useAuthStore, ["currentUser"]),
|
...mapState(useAuthStore, ["currentUser"]),
|
||||||
|
|
||||||
|
@ -641,10 +639,10 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// ...mapActions(["TOGGLE_SIDEBAR_MENU"]),
|
// ...mapActions(["TOGGLE_SIDEBAR_MENU"]),
|
||||||
...mapActions(useCommonStore, ["TOGGLE_SIDEBAR_MENU"]),
|
...mapActions(useCommonStore, [
|
||||||
...mapActions(useSearchStore, [
|
"TOGGLE_SIDEBAR_MENU",
|
||||||
"searchActiveTabSetter",
|
"searchActiveTabSetter",
|
||||||
"domainActiveSetter",
|
"domainActiveSetter"
|
||||||
]),
|
]),
|
||||||
...mapActions(useResearchStore, [
|
...mapActions(useResearchStore, [
|
||||||
"researchActiveSchemaSetter",
|
"researchActiveSchemaSetter",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user