Skip to content

Commit

Permalink
Show CA "Needs attention" (#201)
Browse files Browse the repository at this point in the history
* Do not save site if there are errors

* Show CA error correctly

* Revert "Do not save site if there are errors"

This reverts commit 3cea52a.
  • Loading branch information
IanVS authored Dec 13, 2024
1 parent f74cda8 commit c97732d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/siteConfig/SiteConfigScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class _SiteConfigScreenState extends State<SiteConfigScreen> {
final certError = site.certInfo == null || site.certInfo!.validity == null || !site.certInfo!.validity!.valid;
var caError = false;
if (!site.managed) {
var caError = site.ca.length == 0;
caError = site.ca.length == 0;
if (!caError) {
site.ca.forEach((ca) {
if (ca.validity == null || !ca.validity!.valid) {
Expand Down

0 comments on commit c97732d

Please sign in to comment.