diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 16:34:45 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 16:34:45 +0900 |
| commit | a231f8d26c53ea4ba38d6a2c77bbec1ffa6d6f92 (patch) | |
| tree | 7d5a2ba0533a06d5d36e512c128a80e7b8c813d5 | |
| parent | Update README.md (diff) | |
| download | sharkey-a231f8d26c53ea4ba38d6a2c77bbec1ffa6d6f92.tar.gz sharkey-a231f8d26c53ea4ba38d6a2c77bbec1ffa6d6f92.tar.bz2 sharkey-a231f8d26c53ea4ba38d6a2c77bbec1ffa6d6f92.zip | |
Fix bug
| -rw-r--r-- | src/client/app/mobile/views/pages/user/home.photos.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/mobile/views/pages/user/home.photos.vue b/src/client/app/mobile/views/pages/user/home.photos.vue index 9c36f1295b..c4f47514d8 100644 --- a/src/client/app/mobile/views/pages/user/home.photos.vue +++ b/src/client/app/mobile/views/pages/user/home.photos.vue @@ -4,7 +4,7 @@ <div class="stream" v-if="!fetching && images.length > 0"> <a v-for="(image, i) in images" :key="i" class="img" - :style="`background-image: url(${thumbnail(image.media)})`" + :style="`background-image: url(${thumbnail(image.file)})`" :href="image.note | notePage" ></a> </div> @@ -40,11 +40,11 @@ export default Vue.extend({ untilDate: new Date().getTime() + 1000 * 86400 * 365 }).then(notes => { for (const note of notes) { - for (const media of note.media) { + for (const file of note.files) { if (this.images.length < 9) { this.images.push({ note, - media + file }); } } |