Fix to allow no severity on messages and watchlists (#19125)

This commit is contained in:
Repo
2023-08-15 07:50:33 +12:00
committed by GitHub
parent 5ce47fbb03
commit 40e1286606

View File

@@ -239,7 +239,7 @@ public sealed partial class NoteEdit : FancyWindow
return;
}
SubmitButton.Disabled = NoteSeverity == null;
SubmitButton.Disabled = (NoteType != NoteType.Watchlist && NoteType != NoteType.Message) && NoteSeverity == null;
}
private void ResetSubmitButton()