fixed backend imports

This commit is contained in:
2024-02-16 19:00:30 +01:00
parent 5ca56d36cf
commit 5242d4a3af
26 changed files with 195 additions and 279 deletions

View File

@ -30,6 +30,14 @@ import SoftwareSpecifications from "../components/server/SoftwareSpecifications.
import NetworkSpecifications from "../components/server/NetworkSpecifications.vue";
import AssetSearch from "../components/AssetSearch.vue";
import AssetSolutionList from "../components/server/AssetSolutionList.vue";
import { useStore } from 'vuex';
import { computed } from 'vue';
const store = useStore();
const onAssetlist = computed(() => store.state.onAssetlist);
const onCustomerAssetlist = computed(() => store.state.onCustomerAssetlist);
const onAsset = computed(() => store.state.onAsset);
const onSolutionlistAsset = computed(() => store.state.onSolutionlistAsset);
definePageMeta({
layout: 'default'
@ -41,20 +49,6 @@ const darkMode = ref(true)
<script>
export default {
name: "AssetPage",
computed: {
onAssetlist() {
return this.$store.state.onAssetlist
},
onCustomerAssetlist() {
return this.$store.state.onCustomerAssetlist
},
onAsset() {
return this.$store.state.onAsset
},
onSolutionlistAsset() {
return this.$store.state.onSolutionlistAsset
}
}
}
</script>