Skip to content

Commit

Permalink
Merge pull request #265 from Breeding-Insight/feature/BI-1473
Browse files Browse the repository at this point in the history
[BI-1473] - Append existing germplasm with optional details
  • Loading branch information
nickpalladino authored Apr 19, 2023
2 parents 9293a4b + a85b58f commit 46b3a61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/admin/AdminUsersTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
<b-table-column field="data.name" label="Name" sortable v-slot="props" :th-attrs="(column) => ({scope:'col'})">
{{ props.row.data.name }}
</b-table-column>
<b-table-column field="data.email" label="Email" v-bind:visible="!isMobile" sortable v-slot="props" :th-attrs="(column) => ({scope:'col'})">
{{ props.row.data.email }}
</b-table-column>
<b-table-column field="data.email" label="Email" v-bind:visible="!isMobile" sortable v-slot="props" :th-attrs="(column) => ({scope:'col'})"><!--
-->{{ props.row.data.email }}<!--
--></b-table-column>
<b-table-column field="data.roleName" label="Role" sortable v-slot="props" :th-attrs="(column) => ({scope:'col'})">
<template v-if="rolesMap.size > 0">
{{ getRoleName(props.row.data.roleId) }}
Expand Down
7 changes: 6 additions & 1 deletion src/views/import/ImportGermplasm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,18 @@
v-bind:rowClasses="constructRowClasses(previewData.import)"
v-on:show-error-notification="$emit('show-error-notification', $event)"
>
<b-table-column field="defaultDisplayName" label="Name" v-slot="props" :th-attrs="(column) => ({scope:'col'})">
<b-table-column v-slot="props" :th-attrs="(column) => ({scope:'col'})">
<AlertTriangleIcon
size="1x"
class="has-vertical-align-middle"
v-if="props.row.data.state === ImportObjectState.EXISTING"
>
</AlertTriangleIcon>
</b-table-column>
<b-table-column field="gid" label="GID" v-slot="props" :th-attrs="(column) => ({scope:'col'})">
{{ props.row.data.brAPIObject.accessionNumber }}
</b-table-column>
<b-table-column field="defaultDisplayName" label="Name" v-slot="props" :th-attrs="(column) => ({scope:'col'})">
{{ props.row.data.brAPIObject.defaultDisplayName }}
</b-table-column>
<b-table-column field="breedingMethod" label="Breeding Method" v-slot="props" :th-attrs="(column) => ({scope:'col'})">
Expand Down

0 comments on commit 46b3a61

Please sign in to comment.