Clean up
This commit is contained in:
parent
fee0437493
commit
b357afa30a
@ -118,7 +118,6 @@ export default Vue.extend({
|
|||||||
fileType: image,
|
fileType: image,
|
||||||
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
||||||
limit: 9,
|
limit: 9,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
for (const file of note.files) {
|
for (const file of note.files) {
|
||||||
|
@ -46,7 +46,6 @@ export default Vue.extend({
|
|||||||
fileType: image,
|
fileType: image,
|
||||||
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
||||||
limit: 9,
|
limit: 9,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
for (const file of note.files) {
|
for (const file of note.files) {
|
||||||
|
@ -23,7 +23,6 @@ export default Vue.extend({
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.$root.api('users/notes', {
|
this.$root.api('users/notes', {
|
||||||
userId: this.user.id,
|
userId: this.user.id,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
this.notes = notes;
|
this.notes = notes;
|
||||||
this.fetching = false;
|
this.fetching = false;
|
||||||
|
@ -37,7 +37,6 @@ export default Vue.extend({
|
|||||||
fileType: image,
|
fileType: image,
|
||||||
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
||||||
limit: 9,
|
limit: 9,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
for (const file of note.files) {
|
for (const file of note.files) {
|
||||||
|
Loading…
Reference in New Issue
Block a user