{#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 {driver?.collectionSingularLabel ?? 'collection/container'} {/if} {:else} {#if ($status && ($status.name == 'pending' || $status.name == 'checkStructure' || $status.name == 'loadStructure') && $objects) || !$objects} {:else} ($appliedCurrentSchema ? x.schemaName == $appliedCurrentSchema : true)) .map(x => ({ ...x, conid, database }))} selectedObjectStore={selectedDatabaseObjectAppObject} getSelectedObject={getSelectedDatabaseObjectAppObject} selectedObjectMatcher={matchDatabaseObjectAppObject} > ($appliedCurrentSchema ? x.schemaName == $appliedCurrentSchema : true)) .map(x => ({ ...x, conid, database }))} module={databaseObjectAppObject} groupFunc={data => getObjectTypeFieldLabel(data.objectTypeField, driver)} subItemsComponent={SubColumnParamList} isExpandable={data => data.objectTypeField == 'tables' || data.objectTypeField == 'views' || data.objectTypeField == 'matviews'} expandIconFunc={chevronExpandIcon} {filter} passProps={{ showPinnedInsteadOfUnpin: true, connection: $connection, hideSchemaName: !!$appliedCurrentSchema, }} /> {/if} {/if}