mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 05:36:13 +08:00 
			
		
		
		
	Merge pull request #2528 from chakflying/fix/tag-validation
Fix: Fix incorrect add tag form validation
This commit is contained in:
		@@ -204,7 +204,7 @@ export default {
 | 
			
		||||
                nameInvalid = false;
 | 
			
		||||
                valueInvalid = false;
 | 
			
		||||
                invalid = false;
 | 
			
		||||
            } else if (this.existingTags.filter(tag => tag.name === this.newDraftTag.name).length > 0) {
 | 
			
		||||
            } else if (this.existingTags.filter(tag => tag.name === this.newDraftTag.name).length > 0 && this.newDraftTag.select == null) {
 | 
			
		||||
                // Try to create new tag with existing name
 | 
			
		||||
                nameInvalid = true;
 | 
			
		||||
                invalid = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user