kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
				
				
				
			Fix Upload Form Vue Errors
							rodzic
							
								
									7216f3bacc
								
							
						
					
					
						commit
						8e2d686386
					
				|  | @ -0,0 +1 @@ | |||
| Fixed upload form VUE erros (#1738) (1738) | ||||
|  | @ -332,7 +332,12 @@ export default { | |||
|   }, | ||||
|   data () { | ||||
|     const importReference = this.defaultImportReference || moment().format() | ||||
|     this.$router.replace({ query: { import: importReference } }) | ||||
|     // Since $router.replace is pushing the same route, it raises NavigationDuplicated | ||||
|     this.$router.replace({ query: { import: importReference } }).catch((error) => { | ||||
|       if (error.name !== 'NavigationDuplicated') { | ||||
|         throw error | ||||
|       } | ||||
|     }) | ||||
|     return { | ||||
|       files: [], | ||||
|       needsRefresh: false, | ||||
|  | @ -349,7 +354,7 @@ export default { | |||
|         objects: {} | ||||
|       }, | ||||
|       processTimestamp: new Date(), | ||||
|       fsStatus: null, | ||||
|       fsStatus: {}, | ||||
|       fsPath: [], | ||||
|       isLoadingFs: false, | ||||
|       fsInterval: null, | ||||
|  |  | |||
|  | @ -54,7 +54,7 @@ export default { | |||
|   props: { | ||||
|     data: { type: Object, required: true }, | ||||
|     loading: { type: Boolean, required: true }, | ||||
|     value: { type: String, required: true } | ||||
|     value: { type: Array, required: true } | ||||
|   }, | ||||
|   methods: { | ||||
|     handleClick (element) { | ||||
|  |  | |||
|  | @ -31,8 +31,8 @@ export default { | |||
|     } | ||||
|   }, | ||||
|   props: { | ||||
|     object: { type: String, required: true }, | ||||
|     defaultImportReference: { type: String, required: true } | ||||
|     object: { type: Object, required: true }, | ||||
|     defaultImportReference: { type: String, default: '' } | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Marcos Peña
						Marcos Peña