Skip to content

Commit

Permalink
Merge pull request #232 from SpeciesFileGroup/development
Browse files Browse the repository at this point in the history
Rename sitemap to datamap #217
  • Loading branch information
jlpereira authored Sep 23, 2024
2 parents c599225 + b8f9eaf commit bf1d4c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
@click="isModalVisible = true"
>
<IconJson class="w-4 h-4" />
Sitemap
Datamap
</VButton>
<VModal
v-if="isModalVisible"
@close="isModalVisible = false"
>
<template #header>
<h3 class="font-medium">Sitemap</h3>
<h3 class="font-medium">Datamap</h3>
</template>
<div class="p-4 pt-0">
<p class="text-sm mb-2">
Expand All @@ -31,7 +31,7 @@
</VTableHeader>
<VTableBody>
<VTableBodyRow
v-for="(item, key) in store.sitemap"
v-for="(item, key) in store.datamap"
:key="key"
>
<VTableBodyCell class="capitalize">{{
Expand Down
2 changes: 1 addition & 1 deletion src/modules/otus/store/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const useOtuPageRequestStore = defineStore('otuPageRequest', {
return (key) => state.requests[key]
},

sitemap: (state) => {
datamap: (state) => {
const keys = Object.keys(state.requests).sort()

return Object.fromEntries(
Expand Down
4 changes: 2 additions & 2 deletions src/modules/otus/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</VSkeleton>
<div class="flex flex-row gap-2">
<ClientOnly>
<SiteMap />
<DataMap />
</ClientOnly>
<DWCDownload
v-if="isReady"
Expand Down Expand Up @@ -90,7 +90,7 @@ import { useSchemaOrg, defineTaxon } from '@/plugins/schemaOrg/composables'
import { RESPONSE_ERROR } from '../constants'
import { isAvailableForRank } from '../utils'
import { useChildrenRoutes, useUserLifeCycles } from '../composables'
import SiteMap from '../components/SiteMap.vue'
import DataMap from '../components/DataMap.vue'
import Breadcrumb from '../components/Breadcrumb/Breadcrumb.vue'
import TaxaInfo from '../components/TaxaInfo.vue'
import DWCDownload from '../components/DWCDownload.vue'
Expand Down

0 comments on commit bf1d4c9

Please sign in to comment.