fix linter problems

This commit is contained in:
Leah 2025-02-03 16:12:52 +01:00
parent 85818f1610
commit c2be49c68d
3 changed files with 13 additions and 13 deletions

View file

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

View file

@ -38,10 +38,10 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkInput> </MkInput>
<MkInput v-model="profile.listenbrainz" manualSave> <MkInput v-model="profile.listenbrainz" manualSave>
<template #label>ListenBrainz</template> <template #label>ListenBrainz</template>
<template #caption>{{i18n.ts.listenbrainzDescription}}</template> <template #caption>{{i18n.ts.listenbrainzDescription}}</template>
<template #prefix><i class="ti ti-headphones"></i></template> <template #prefix><i class="ti ti-headphones"></i></template>
</MkInput> </MkInput>
<MkSelect v-model="profile.lang"> <MkSelect v-model="profile.lang">
<template #label>{{ i18n.ts.language }}</template> <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"/> <XFiles :key="user.id" :user="user"/>
<XActivity :key="user.id" :user="user"/> <XActivity :key="user.id" :user="user"/>
<XListenBrainz <XListenBrainz
v-if="user.listenbrainz && listenbrainzdata" v-if="user.listenbrainz && listenbrainzdata"
:key="user.id" :key="user.id"
:user="user" :user="user"
style="margin-top: var(--margin)" style="margin-top: var(--margin)"
/> />
</div> </div>
</div> </div>
</MkSpacer> </MkSpacer>