Skip to content

Commit

Permalink
fix: Song/Artist/Album links (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin B authored and iCrawl committed Sep 24, 2019
1 parent 2767808 commit 252fcf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/player/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
<span v-for="(artist, index) in currentArtists"
:key="artist.id"
class="player-song-artist">
<a :href="`https://beta.listen.moe/artists/${artist.id}`">
<a :href="`https://listen.moe/artists/${artist.id}`">
{{ preferRomaji ? artist.nameRomaji ? artist.nameRomaji : artist.name ? artist.name : artist.nameRomaji : artist.name ? artist.name : artist.nameRomaji }}
</a>
<template v-if="index < currentArtists.length - 1">, </template>
Expand Down Expand Up @@ -370,7 +370,7 @@ export default {
if (this.websocket && this.websocket.requester) {
return {
name: this.websocket.requester.displayName,
link: `https://beta.listen.moe/u/${this.websocket.requester.username}`
link: `https://listen.moe/u/${this.websocket.requester.username}`
};
}
return null;
Expand Down Expand Up @@ -420,7 +420,7 @@ export default {
? this.websocket.song.sources[0].name
: this.websocket.song.sources[0].nameRomaji;
source.link = `https://beta.listen.moe/sources/${this.websocket.song.sources[0].id}`;
source.link = `https://listen.moe/sources/${this.websocket.song.sources[0].id}`;
return source;
}
return null;
Expand All @@ -438,7 +438,7 @@ export default {
? this.websocket.song.albums[0].name
: this.websocket.song.albums[0].nameRomaji;
album.link = `https://beta.listen.moe/albums/${this.websocket.song.albums[0].id}`;
album.link = `https://listen.moe/albums/${this.websocket.song.albums[0].id}`;
return album;
}
return null;
Expand Down
2 changes: 1 addition & 1 deletion src/components/settings/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<h1 class="title">Account</h1>

<a v-if="loggedIn"
:href="`https://beta.listen.moe/u/${user.username}`"
:href="`https://listen.moe/u/${user.username}`"
target="_blank">
Logged in as {{ user.displayName }}
</a>
Expand Down

0 comments on commit 252fcf8

Please sign in to comment.