[Client] Fix #2764

This commit is contained in:
syuilo 2018-12-19 06:04:59 +09:00
parent e620f8622d
commit f2407179e9
2 changed files with 12 additions and 2 deletions

View File

@ -24,9 +24,14 @@ export default Vue.extend({
};
},
mounted() {
const image = [
'image/jpeg',
'image/png',
'image/gif'
];
this.$root.api('users/notes', {
userId: this.user.id,
withFiles: true,
fileType: image,
limit: 9,
untilDate: new Date().getTime() + 1000 * 86400 * 365
}).then(notes => {

View File

@ -26,9 +26,14 @@ export default Vue.extend({
};
},
mounted() {
const image = [
'image/jpeg',
'image/png',
'image/gif'
];
this.$root.api('users/notes', {
userId: this.user.id,
withFiles: true,
fileType: image,
limit: 6,
untilDate: new Date().getTime() + 1000 * 86400 * 365
}).then(notes => {