File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export const LoginPage: FC = () => {
79
79
const [ showAdvanced , setShowAdvanced ] = useState ( false ) ;
80
80
81
81
const handleSubmit = useCallback ( ( ) => {
82
- if ( ( [ DatabaseType . MySql , DatabaseType . Postgres ] . includes ( databaseType . id as DatabaseType ) && ( hostName . length === 0 || database . length === 0 || username . length === 0 || password . length === 0 ) )
82
+ if ( ( [ DatabaseType . MySql , DatabaseType . Postgres ] . includes ( databaseType . id as DatabaseType ) && ( hostName . length === 0 || database . length === 0 || username . length === 0 ) )
83
83
|| ( databaseType . id === DatabaseType . Sqlite3 && database . length === 0 )
84
84
|| ( databaseType . id === DatabaseType . MongoDb && ( hostName . length === 0 || username . length === 0 ) )
85
85
|| ( databaseType . id === DatabaseType . Redis && ( hostName . length === 0 ) ) ) {
You can’t perform that action at this time.
0 commit comments