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