diff --git a/src/components/instance/browse/index.js b/src/components/instance/browse/index.js index 197a4020d..540f8dbe5 100644 --- a/src/components/instance/browse/index.js +++ b/src/components/instance/browse/index.js @@ -39,7 +39,7 @@ function NoPrimaryKeyMessage({ table }) { No Primary Key - The table { `'${table}'` } does not have a primary key. The HarperDB Studio does not currently support tables wihtout a primary key defined. Please see the HarperDB documention to see the standard HarperDB querying options. + The table { `'${table}'` } does not have a primary key. The HarperDB Studio does not currently support tables without a primary key defined. Please see the HarperDB documention to see the standard HarperDB querying options. @@ -92,7 +92,7 @@ function BrowseIndex() { * FIXME: There is a fair amount of logic scattered throughout this * page that could be put in a router-level validation function. * - * Splitting the browse endpoint into /schema/ and /schema/table heirarchy + * Splitting the browse endpoint into /schema/ and /schema/table hierarchy * might ease this. * */ @@ -162,18 +162,16 @@ function BrowseIndex() { onError={(error, componentStack) => addError({ error: { message: error.message, componentStack } })} FallbackComponent={ErrorFallback}> { - hasHashAttr ? ( - schema && table && action === 'csv' && entities.activeTable ? ( - - ) : schema && table && action && entities.activeTable ? ( - - ) : schema && table && entities.activeTable ? ( - - ) : ( - } /> - ) + schema && table && action === 'csv' && entities.activeTable ? ( + + ) : schema && table && action && entities.activeTable ? ( + + ) : schema && table && entities.activeTable ? ( + + ) : schema && table && !hasHashAttr ? ( + ) : - + } /> }