1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-20 18:03:39 +03:00
zeripath d7f12af805
Prevent NPE if trying to restore an already restored deleted branch (#21940)
If a deleted-branch has already been restored, a request to restore it
again will cause a NPE. This PR adds detection for this case, but also
disables buttons when they're clicked in order to help prevent
accidental repeat requests.

Fix #21930

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-11-25 20:58:20 +00:00
..
2022-11-22 08:58:55 +08:00
2021-11-11 09:52:16 +08:00
2022-10-17 12:08:21 +08:00
2022-08-08 02:15:11 +03:00
2022-11-22 08:58:55 +08:00
2022-07-12 23:32:37 +02:00
2022-11-22 08:58:55 +08:00