Skip to content

Commit

Permalink
rename PanelInventory to PanelSpecimens
Browse files Browse the repository at this point in the history
  • Loading branch information
wbbaker committed Aug 20, 2024
1 parent 8c90e72 commit 0ff0f3d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/modules/otus/components/Panel/PanelInventory/main.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
In the Collection
<span v-if="Array.isArray(inventoryDWC)"> [{{ inventoryDWC.length }}]</span>
</h2>
<PanelDropdown panel-key="panel:inventory" />
<PanelDropdown panel-key="panel:specimens" />
</VCardHeader>
<VCardContent class="text-sm">
<p v-if="typeof inventoryDWC === 'string'" v-html="inventoryDWC"/>
Expand Down Expand Up @@ -114,7 +114,7 @@ watch(
}
isLoading.value = true
useOtuPageRequest('panel:inventory', () =>
useOtuPageRequest('panel:specimens', () =>
TaxonWorks.getOtuInventoryDarwinCore(props.otuId)
).then(({data}) => {
inventoryDWC.value = data
Expand Down
6 changes: 6 additions & 0 deletions src/modules/otus/components/Panel/PanelSpecimens/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import PanelSpecimens from "./PanelSpecimens.vue";

export default {
id: 'panel:specimens',
component: PanelSpecimens
}
2 changes: 1 addition & 1 deletion src/modules/otus/constants/layouts/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const DEFAULT_OVERVIEW_LAYOUT = {
'panel:type-specimen',
'panel:nomenclature',
'panel:nomenclature-references',
'panel:inventory'
'panel:specimens'
],
[
'panel:map',
Expand Down

0 comments on commit 0ff0f3d

Please sign in to comment.