{#if $status && $status.name == 'error'} Refresh {:else if objectList.length == 0 && $status && $status.name != 'pending' && $status.name != 'checkStructure' && $status.name != 'loadStructure' && $objects}
Refresh {#if driver?.databaseEngineTypes?.includes('sql')}
runCommand('new.table')}>New table {/if} {#if driver?.databaseEngineTypes?.includes('document')}
runCommand('new.collection')}>New collection {/if} {:else} {#if ($status && ($status.name == 'pending' || $status.name == 'checkStructure' || $status.name == 'loadStructure') && $objects) || !$objects} {:else} ({ ...x, conid, database }))} module={databaseObjectAppObject} groupFunc={data => getObjectTypeFieldLabel(data.objectTypeField)} subItemsComponent={SubColumnParamList} isExpandable={data => data.objectTypeField == 'tables' || data.objectTypeField == 'views' || data.objectTypeField == 'matviews'} expandIconFunc={chevronExpandIcon} {filter} passProps={{ showPinnedInsteadOfUnpin: true }} /> {/if} {/if}