mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-31 19:39:20 +08:00 
			
		
		
		
	Fixed processing error with add API key
Also added padding below add button Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
		| @@ -144,6 +144,7 @@ export default { | ||||
|  | ||||
|             this.$root.addAPIKey(this.key, async (res) => { | ||||
|                 this.keyaddmodal.hide(); | ||||
|                 this.processing = false; | ||||
|                 if (res.ok) { | ||||
|                     this.clearKey = res.key; | ||||
|                     this.keymodal.show(); | ||||
| @@ -151,7 +152,6 @@ export default { | ||||
|                 } else { | ||||
|                     toast.error(res.msg); | ||||
|                 } | ||||
|                 this.processing = false; | ||||
|             }); | ||||
|         }, | ||||
|     } | ||||
|   | ||||
| @@ -157,6 +157,7 @@ export default { | ||||
|  | ||||
|     .add-btn { | ||||
|         padding-top: 20px; | ||||
|         padding-bottom: 20px; | ||||
|     } | ||||
|  | ||||
|     .item { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user