binwiederhier 1 miesiąc temu
rodzic
commit
f382a13109
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      web/src/components/Preferences.jsx

+ 2 - 1
web/src/components/Preferences.jsx

@@ -441,7 +441,8 @@ const UserDialog = (props) => {
   const baseUrlHelperText = (() => {
     if (baseUrl.length > 0 && !baseUrlValid) {
       return t("prefs_users_dialog_base_url_invalid");
-    } else if (baseUrlExists) {
+    }
+    if (baseUrlExists) {
       return t("prefs_users_dialog_base_url_exists");
     }
     return "";