From b357afa30a6f6420218ad80b9a731dc379e1fd36 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 56362b78c2..43a67db1ed 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 aff1c96c9a..5948e805ac 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 929f19f685..9abe5b893c 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 c4f47514d8..d9817f1a53 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) {