Skip to content

Commit

Permalink
Add toggleable creators to cell type, and try to limit creator displa…
Browse files Browse the repository at this point in the history
…y names
  • Loading branch information
ml-evs committed Nov 10, 2024
1 parent ba8db7c commit ada3a63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions webapp/src/components/CellInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
<FormattedRefcode :refcode="Refcode" />
</div>
</div>
<div class="form-group col-md-3 col-sm-3 col-6 pb-3 pr-2">
<label id="cell-creators">Creators</label>
<div aria-labelledby="cell-creators" class="mx-auto">
<Creators :creators="ItemCreators" :size="36" />
</div>
<div class="form-group col-md-3 col-sm-3 col-6 pb-3">
<ToggleableCreatorsFormGroup v-model="ItemCreators" :refcode="Refcode" />
</div>
<div class="col-md-6 col-sm-7 pr-2">
<ToggleableCollectionFormGroup v-model="Collections" />
Expand Down Expand Up @@ -115,7 +112,7 @@ import TableOfContents from "@/components/TableOfContents";
import ItemRelationshipVisualization from "@/components/ItemRelationshipVisualization";
import FormattedRefcode from "@/components/FormattedRefcode";
import ToggleableCollectionFormGroup from "@/components/ToggleableCollectionFormGroup";
import Creators from "@/components/Creators";
import ToggleableCreatorsFormGroup from "@/components/ToggleableCreatorsFormGroup";
import { cellFormats } from "@/resources.js";
export default {
Expand All @@ -127,7 +124,7 @@ export default {
ItemRelationshipVisualization,
FormattedRefcode,
ToggleableCollectionFormGroup,
Creators,
ToggleableCreatorsFormGroup,
},
props: {
item_id: {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/DynamicDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export default {
},
Creators: {
creators: "creators",
maxNames: 1,
showNames: false,
},
};
Expand Down

0 comments on commit ada3a63

Please sign in to comment.