mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 10:56:10 +01:00 
			
		
		
		
	Hide target selector if tag exists when creating new release (#23171)
Close #22649. |status|screenshot| |-|-| |empty tag name|<img src="https://user-images.githubusercontent.com/15528715/221490165-fd3abd2e-6dc5-4562-bece-d1d6a305479e.png" width="300px"/>| |new tag|<img src="https://user-images.githubusercontent.com/15528715/221490450-49b2a48e-b206-49f4-bd79-34b1ea64156f.png" width="300px"/>| |existing tag|<img src="https://user-images.githubusercontent.com/15528715/221490301-4d1879dd-4947-4abc-9b9a-e77be1806981.png" width="300px"/>|
This commit is contained in:
		| @@ -76,7 +76,7 @@ import { | ||||
| import {initViewedCheckboxListenerFor} from './features/pull-view-file.js'; | ||||
| import {initOrgTeamSearchRepoBox, initOrgTeamSettings} from './features/org-team.js'; | ||||
| import {initUserAuthWebAuthn, initUserAuthWebAuthnRegister} from './features/user-auth-webauthn.js'; | ||||
| import {initRepoRelease, initRepoReleaseEditor} from './features/repo-release.js'; | ||||
| import {initRepoRelease, initRepoReleaseNew} from './features/repo-release.js'; | ||||
| import {initRepoEditor} from './features/repo-editor.js'; | ||||
| import {initCompSearchUserBox} from './features/comp/SearchUserBox.js'; | ||||
| import {initInstall} from './features/install.js'; | ||||
| @@ -179,7 +179,7 @@ $(document).ready(() => { | ||||
|   initRepoPullRequestAllowMaintainerEdit(); | ||||
|   initRepoPullRequestReview(); | ||||
|   initRepoRelease(); | ||||
|   initRepoReleaseEditor(); | ||||
|   initRepoReleaseNew(); | ||||
|   initRepoSettingGitHook(); | ||||
|   initRepoSettingSearchTeamBox(); | ||||
|   initRepoSettingsCollaboration(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user