kopia lustrzana https://github.com/nextcloud/social
				
				
				
			Fix condition to disable submit button
Signed-off-by: Louis Chemineau <louis@chmn.me>pull/1649/head
							rodzic
							
								
									2c7af0adf0
								
							
						
					
					
						commit
						535fe76432
					
				| 
						 | 
				
			
			@ -110,7 +110,7 @@
 | 
			
		|||
 | 
			
		||||
				<VisibilitySelect :type.sync="type" />
 | 
			
		||||
				<div class="emptySpace" />
 | 
			
		||||
				<SubmitStatusButton :type="type" :disabled="canPost || loading" @click="createPost" />
 | 
			
		||||
				<SubmitStatusButton :type="type" :disabled="!canPost || loading" @click="createPost" />
 | 
			
		||||
 | 
			
		||||
				<!-- <NcButton :value="currentVisibilityPostLabel"
 | 
			
		||||
					:disabled="!canPost"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,7 +23,7 @@
 | 
			
		|||
 | 
			
		||||
<template>
 | 
			
		||||
	<NcButton :value="currentVisibilityPostLabel"
 | 
			
		||||
		:disabled="!disabled"
 | 
			
		||||
		:disabled="disabled"
 | 
			
		||||
		native-type="submit"
 | 
			
		||||
		type="primary"
 | 
			
		||||
		@click.prevent="handleClick">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue