Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
use small thumbnail (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarisia authored Oct 4, 2019
1 parent 7b8494e commit 1a0be4a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/container/playlist-view/list-contents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<v-flex xs2 pa-0 @click="selectContent(element)">
<v-img
class="ma-auto"
:src="element.thumbnail == '' ? src : element.thumbnail "
:src="element.thumbnail_small == '' ? src : element.thumbnail_small "
contain
max-height="50"
max-width="50"
Expand Down
2 changes: 1 addition & 1 deletion src/components/container/search/search-results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<v-img
class="ma-auto"
@error="switchToNoimage(result)"
:src="result.thumbnail == '' ? switchToNoimage(result) : result.thumbnail"
:src="result.thumbnail_small == '' ? switchToNoimage(result) : result.thumbnail_small"
contain
max-height="80"
max-width="80"
Expand Down
2 changes: 1 addition & 1 deletion src/components/footer/aria-footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
@click="goPlay"
>
<v-img
:src="nowPlayingData.thumbnail == '' ? switchToNoimage(nowPlayingData) : nowPlayingData.thumbnail"
:src="nowPlayingData.thumbnail_small == '' ? switchToNoimage(nowPlayingData) : nowPlayingData.thumbnail_small"
@error="switchToNoimage(nowPlayingData)"
:aspect-ratio="1/1"
contain
Expand Down
2 changes: 1 addition & 1 deletion src/components/footer/sub-queue-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<v-flex xs2 pa-0>
<v-img
class="ma-auto"
:src="element.thumbnail == '' ? src : element.thumbnail "
:src="element.thumbnail_small == '' ? src : element.thumbnail_small "
contain
max-height="50"
max-width="50"
Expand Down
2 changes: 1 addition & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const store = new Vuex.Store({
theme: false,
searchedData: null,
searchContents: localStorage.searchContents ? '' : localStorage.searchContents,
playingData: { key: "", source: "", title: "", uri: "", thumbnail: "", entry: null },
playingData: { key: "", source: "", title: "", uri: "", thumbnail: "", thumbnail_small: "", entry: null },
nowState: 'stopped',
queue: [],
playlists: [],
Expand Down

0 comments on commit 1a0be4a

Please sign in to comment.