Clean up
This commit is contained in:
		
							parent
							
								
									fee0437493
								
							
						
					
					
						commit
						b357afa30a
					
				
					 4 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue