Browse Source

feat: Add showUnnamedEntity prop to EntityGrid

Add prop to control visibility of "Unnamed" entity, matching showYouEntity
pattern. Defaults to true for backward compatibility.
pull/216/head
Jose Olarte III 3 days ago
parent
commit
82fd7cddf7
  1. 5
      src/components/EntityGrid.vue

5
src/components/EntityGrid.vue

@ -61,6 +61,7 @@ projects, and special entities with selection. * * @author Matthew Raymer */
<!-- "Unnamed" entity -->
<SpecialEntityCard
v-if="showUnnamedEntity"
entity-type="unnamed"
:label="unnamedEntityName"
icon="circle-question"
@ -175,6 +176,10 @@ export default class EntityGrid extends Vue {
@Prop({ default: true })
showYouEntity!: boolean;
/** Whether to show the "Unnamed" entity for people grids */
@Prop({ default: true })
showUnnamedEntity!: boolean;
/** Whether the "You" entity is selectable */
@Prop({ default: true })
youSelectable!: boolean;

Loading…
Cancel
Save