Cherrypick listenbrainz #52

Open
leah wants to merge 13 commits from cherrypick/listenbrainz into main
3 changed files with 13 additions and 13 deletions
Showing only changes of commit c2be49c68d - Show all commits

View file

@ -39,10 +39,10 @@ export class MiUserProfile {
@Column("varchar", {
length: 128,
nullable: true,
comment: "The ListenBrainz username of the User.",
})
public listenbrainz: string | null;
nullable: true,
comment: "The ListenBrainz username of the User.",
})
public listenbrainz: string | null;
@Column('varchar', {
length: 2048, nullable: true,

View file

@ -38,10 +38,10 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkInput>
<MkInput v-model="profile.listenbrainz" manualSave>
<template #label>ListenBrainz</template>
<template #caption>{{i18n.ts.listenbrainzDescription}}</template>
<template #prefix><i class="ti ti-headphones"></i></template>
</MkInput>
<template #label>ListenBrainz</template>
<template #caption>{{i18n.ts.listenbrainzDescription}}</template>
<template #prefix><i class="ti ti-headphones"></i></template>
</MkInput>
<MkSelect v-model="profile.lang">
<template #label>{{ i18n.ts.language }}</template>

View file

@ -210,11 +210,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<XFiles :key="user.id" :user="user"/>
<XActivity :key="user.id" :user="user"/>
<XListenBrainz
v-if="user.listenbrainz && listenbrainzdata"
:key="user.id"
:user="user"
style="margin-top: var(--margin)"
/>
v-if="user.listenbrainz && listenbrainzdata"
:key="user.id"
:user="user"
style="margin-top: var(--margin)"
/>
</div>
</div>
</MkSpacer>