Merge pull request #1873 from molecula/ui-fixes

UI bug fixes
This commit is contained in:
hphamMolecula 2022-01-21 09:55:04 -06:00 committed by GitHub
commit a179b15300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,7 @@ interface Props {
const SignOutButton: React.FC<Props> = ({ children }) => {
const signoutOnClick = (e) => {
localStorage.clear();
window.location.href = '/logout';
};

View file

@ -196,7 +196,8 @@ export const QueryBuilderContainer = () => {
return (
<Fragment>
{tables.length > 0 ? (
{/* check if tables is not null AND tables.length > 0 */}
{(tables && tables.length > 0) ? (
<Split
sizes={showBuilder ? colSizes : [0, 100]}
cursor="col-resize"