stash
This commit is contained in:
		
							parent
							
								
									034c4a9ee0
								
							
						
					
					
						commit
						6248a7ef2f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -14,7 +14,7 @@ | |||
|         <div> | ||||
|             <img v-for="file in only_images(files)" :key="file.id" :src="file.name" :alt="file.name" | ||||
|                  class="img-thumbnail" :title="file.mime_type"> | ||||
|             <img v-for="file in whithout_images(item_files)" :key="file.id" :alt="file.name" | ||||
|             <img v-for="file in only_images(item_files)" :key="file.id" :alt="file.name" | ||||
|                  :src="'data:' + file.mime_type + ';base64,' + file.data" class="img-thumbnail border-info"> | ||||
|             <fs-file-source @input="addFiles"> | ||||
|                 <div class="img-thumbnail btn btn-outline-primary"> | ||||
|  | @ -79,7 +79,7 @@ export default { | |||
|         ...mapActions(["fetchFiles", "pushFile"]), | ||||
|         async uploadFiles(files) { | ||||
|             const jobs = files.map(async file => { | ||||
|                 await this.pushFile({ | ||||
|                 return await this.pushFile({ | ||||
|                     file: file, | ||||
|                     item_id: this.item_id | ||||
|                 }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue