mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
Cosmos name
This commit is contained in:
parent
9f553ef52a
commit
d131287ca0
@ -40,6 +40,7 @@ export function setSelectedTab(tabid) {
|
|||||||
|
|
||||||
export function getObjectTypeFieldLabel(objectTypeField) {
|
export function getObjectTypeFieldLabel(objectTypeField) {
|
||||||
if (objectTypeField == 'matviews') return 'Materialized Views';
|
if (objectTypeField == 'matviews') return 'Materialized Views';
|
||||||
|
if (objectTypeField == 'collections') return 'Collections/Containers';
|
||||||
return _.startCase(objectTypeField);
|
return _.startCase(objectTypeField);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
</WidgetColumnBarItem>
|
</WidgetColumnBarItem>
|
||||||
|
|
||||||
<WidgetColumnBarItem
|
<WidgetColumnBarItem
|
||||||
title={driver?.databaseEngineTypes?.includes('document') ? 'Collections' : 'Tables, views, functions'}
|
title={driver?.databaseEngineTypes?.includes('document') ? 'Collections/containers' : 'Tables, views, functions'}
|
||||||
name="dbObjects"
|
name="dbObjects"
|
||||||
storageName="dbObjectsWidget"
|
storageName="dbObjectsWidget"
|
||||||
skip={!(
|
skip={!(
|
||||||
|
Loading…
Reference in New Issue
Block a user