mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix create bugs (#9606)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							03d59bcd1d
						
					
				
				
					commit
					08424648ae
				
			@@ -2271,7 +2271,7 @@ function initTemplateSearch() {
 | 
			
		||||
  const checkTemplate = function () {
 | 
			
		||||
    const $templateUnits = $('#template_units');
 | 
			
		||||
    const $nonTemplate = $('#non_template');
 | 
			
		||||
    if ($repoTemplate.val() !== '') {
 | 
			
		||||
    if ($repoTemplate.val() !== '' && $repoTemplate.val() !== '0') {
 | 
			
		||||
      $templateUnits.show();
 | 
			
		||||
      $nonTemplate.hide();
 | 
			
		||||
    } else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user