Skip to content

Commit 43c5100

Browse files
committed
improve comment
1 parent be79b34 commit 43c5100

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/repo/release.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ func NewReleasePost(ctx *context.Context) {
414414
// * input something, click other buttons but not "tag only"
415415
// * error occurs, the "new release" page is rendered again, but the "tag only" button is gone
416416
// Such cases are not able to be handled by current code, it needs frontend code to toggle the "tag-only" button if the input changes.
417+
// Or another choice is "always show the tag-only button" if error occurs.
417418
ctx.Data["ShowCreateTagOnlyButton"] = form.TagOnly || rel == nil
418419

419420
// do some form checks

0 commit comments

Comments
 (0)