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 class="media-content" v-if="actor.name">
|
||||
<p class="is-4">{{ actor.name }}</p>
|
||||
<p class="is-6 has-text-grey">
|
||||
{{ `@${actor.preferredUsername}` }}
|
||||
<p class="is-6 has-text-grey-dark">
|
||||
{{ `@${usernameWithDomain(actor)}` }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="media-content" v-else>
|
||||
{{ `@${actor.preferredUsername}` }}
|
||||
{{ `@${usernameWithDomain(actor)}` }}
|
||||
</div>
|
||||
</div>
|
||||
</b-checkbox>
|
||||
@ -167,6 +167,8 @@ export default class OrganizerPickerWrapper extends Vue {
|
||||
|
||||
isComponentModalActive = false;
|
||||
|
||||
usernameWithDomain = usernameWithDomain;
|
||||
|
||||
@Prop({ type: Array, required: false, default: () => [] })
|
||||
contacts!: IActor[];
|
||||
members: Paginate<IMember> = { elements: [], total: 0 };
|
||||
|
Loading…
Reference in New Issue
Block a user