Fix only part of username showing up in OrganizerPickerWrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
68d3315999
commit
e26c431350
@ -77,12 +77,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="media-content" v-if="actor.name">
|
<div class="media-content" v-if="actor.name">
|
||||||
<p class="is-4">{{ actor.name }}</p>
|
<p class="is-4">{{ actor.name }}</p>
|
||||||
<p class="is-6 has-text-grey">
|
<p class="is-6 has-text-grey-dark">
|
||||||
{{ `@${actor.preferredUsername}` }}
|
{{ `@${usernameWithDomain(actor)}` }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="media-content" v-else>
|
<div class="media-content" v-else>
|
||||||
{{ `@${actor.preferredUsername}` }}
|
{{ `@${usernameWithDomain(actor)}` }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</b-checkbox>
|
</b-checkbox>
|
||||||
@ -167,6 +167,8 @@ export default class OrganizerPickerWrapper extends Vue {
|
|||||||
|
|
||||||
isComponentModalActive = false;
|
isComponentModalActive = false;
|
||||||
|
|
||||||
|
usernameWithDomain = usernameWithDomain;
|
||||||
|
|
||||||
@Prop({ type: Array, required: false, default: () => [] })
|
@Prop({ type: Array, required: false, default: () => [] })
|
||||||
contacts!: IActor[];
|
contacts!: IActor[];
|
||||||
members: Paginate<IMember> = { elements: [], total: 0 };
|
members: Paginate<IMember> = { elements: [], total: 0 };
|
||||||
|
Loading…
Reference in New Issue
Block a user