This commit is contained in:
jeffalo 2021-08-06 12:29:00 +02:00
parent 992baf7745
commit feb80afb35

View file

@ -84,7 +84,7 @@ class Navigation extends React.Component {
} }
handleSearchSubmit (formData) { handleSearchSubmit (formData) {
if (formData.q.trim() === '') return null; // don't submit empty searches if (formData.q.trim() === '') return; // don't submit empty searches
let targetUrl = '/search/projects'; let targetUrl = '/search/projects';
if (formData.q) { if (formData.q) {