diff --git a/front/src/components/audio/ArtistCreditLabel.vue b/front/src/components/audio/ArtistCreditLabel.vue index 008ff9b47..4b634ff37 100644 --- a/front/src/components/audio/ArtistCreditLabel.vue +++ b/front/src/components/audio/ArtistCreditLabel.vue @@ -2,6 +2,8 @@ import type { ArtistCredit } from '~/types' import { useStore } from '~/store' +import Link from '~/components/ui/Link.vue' + const store = useStore() interface Props { @@ -26,7 +28,7 @@ const getRoute = (ac: ArtistCredit) => { v-for="ac in props.artistCredit" :key="ac.artist.id" > - { > {{ ac.credit }} - + {{ ac.joinphrase }} diff --git a/front/src/components/audio/track/Table.vue b/front/src/components/audio/track/Table.vue index 38c761ab0..e4f0c9d2a 100644 --- a/front/src/components/audio/track/Table.vue +++ b/front/src/components/audio/track/Table.vue @@ -10,10 +10,11 @@ import { useStore } from '~/store' import axios from 'axios' import TrackMobileRow from '~/components/audio/track/MobileRow.vue' -import Pagination from '~/components/vui/Pagination.vue' +import Pagination from '~/components/ui/Pagination.vue' import TrackRow from '~/components/audio/track/Row.vue' import Input from '~/components/ui/Input.vue' import Spacer from '~/components/ui/Spacer.vue' +import Loader from '~/components/ui/Loader.vue' import useErrorHandler from '~/composables/useErrorHandler' @@ -175,18 +176,13 @@ const updatePage = (page: number) => {
-
-
-
+
- +
{ class="meta right floated column" >
@@ -263,12 +259,7 @@ const updatePage = (page: number) => {
-
-
-
+ @@ -289,7 +280,7 @@ const updatePage = (page: number) => { v-if="tracks && paginateResults && totalTracks > paginateBy" class="ui center aligned basic segment tablet-and-below" > - ({ backgroundColor: `#${actorColor.val class="ui avatar circular label" >{{ actor.preferred_username?.[0] || "" }} + + \ No newline at end of file diff --git a/front/src/components/common/ActorLink.vue b/front/src/components/common/ActorLink.vue index 49c819744..2518eaa66 100644 --- a/front/src/components/common/ActorLink.vue +++ b/front/src/components/common/ActorLink.vue @@ -5,6 +5,8 @@ import { toRefs } from '@vueuse/core' import { computed } from 'vue' import { truncate } from '~/utils/filters' +import Link from '~/components/ui/Link.vue' + interface Props { actor: Actor avatar?: boolean @@ -50,15 +52,18 @@ const url = computed(() => { diff --git a/front/src/components/common/AttachmentInput.vue b/front/src/components/common/AttachmentInput.vue index 2836bfaa7..681dcc5df 100644 --- a/front/src/components/common/AttachmentInput.vue +++ b/front/src/components/common/AttachmentInput.vue @@ -8,6 +8,9 @@ import { useStore } from '~/store' import { useI18n } from 'vue-i18n' import useFormData from '~/composables/useFormData' +import Button from '~/components/ui/Button.vue' +import Alert from '~/components/ui/Alert.vue' + interface Events { (e: 'update:modelValue', value: string | null): void (e: 'delete'): void @@ -104,10 +107,9 @@ const getAttachmentUrl = (uuid: string) => {