From 95852d5ae9c3751e1c3968697a6e5ec7df5c7e97 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 15 Apr 2019 12:04:23 +0900 Subject: [PATCH] Clean up --- src/client/app/common/views/deck/deck.user-column.home.vue | 1 - src/client/app/desktop/views/home/user/user.photos.vue | 1 - src/client/app/mobile/views/pages/user/home.notes.vue | 1 - src/client/app/mobile/views/pages/user/home.photos.vue | 1 - 4 files changed, 4 deletions(-) diff --git a/src/client/app/common/views/deck/deck.user-column.home.vue b/src/client/app/common/views/deck/deck.user-column.home.vue index 56362b78c..43a67db1e 100644 --- a/src/client/app/common/views/deck/deck.user-column.home.vue +++ b/src/client/app/common/views/deck/deck.user-column.home.vue @@ -118,7 +118,6 @@ export default Vue.extend({ fileType: image, excludeNsfw: !this.$store.state.device.alwaysShowNsfw, limit: 9, - untilDate: new Date().getTime() + 1000 * 86400 * 365 }).then(notes => { for (const note of notes) { for (const file of note.files) { diff --git a/src/client/app/desktop/views/home/user/user.photos.vue b/src/client/app/desktop/views/home/user/user.photos.vue index aff1c96c9..5948e805a 100644 --- a/src/client/app/desktop/views/home/user/user.photos.vue +++ b/src/client/app/desktop/views/home/user/user.photos.vue @@ -46,7 +46,6 @@ export default Vue.extend({ fileType: image, excludeNsfw: !this.$store.state.device.alwaysShowNsfw, limit: 9, - untilDate: new Date().getTime() + 1000 * 86400 * 365 }).then(notes => { for (const note of notes) { for (const file of note.files) { diff --git a/src/client/app/mobile/views/pages/user/home.notes.vue b/src/client/app/mobile/views/pages/user/home.notes.vue index 929f19f68..9abe5b893 100644 --- a/src/client/app/mobile/views/pages/user/home.notes.vue +++ b/src/client/app/mobile/views/pages/user/home.notes.vue @@ -23,7 +23,6 @@ export default Vue.extend({ mounted() { this.$root.api('users/notes', { userId: this.user.id, - untilDate: new Date().getTime() + 1000 * 86400 * 365 }).then(notes => { this.notes = notes; this.fetching = false; 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 c4f47514d..d9817f1a5 100644 --- a/src/client/app/mobile/views/pages/user/home.photos.vue +++ b/src/client/app/mobile/views/pages/user/home.photos.vue @@ -37,7 +37,6 @@ export default Vue.extend({ fileType: image, excludeNsfw: !this.$store.state.device.alwaysShowNsfw, limit: 9, - untilDate: new Date().getTime() + 1000 * 86400 * 365 }).then(notes => { for (const note of notes) { for (const file of note.files) {