mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 13:32:45 +00:00
Added !brewCollection condition to if statement in VaultPage component.
This commit is contained in:
@@ -378,7 +378,7 @@ const VaultPage = (props) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (title === '' && author === '') {
|
if (title === '' && author === '' && !brewCollection) {
|
||||||
return (
|
return (
|
||||||
<div className="foundBrews noBrews">
|
<div className="foundBrews noBrews">
|
||||||
<h3>No search yet</h3>
|
<h3>No search yet</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user