MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / isSingleCollection

Function isSingleCollection

web/pgadmin/static/js/SchemaView/FormView.jsx:162–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 const isSingleCollection = () => {
163 const DataGridView = View('DataGridView');
164 return (
165 finalGroups.length == 1 &&
166 finalGroups[0].controls.length == 1 &&
167 finalGroups[0].controls[0].control == DataGridView
168 );
169 };
170
171 if(isTabView) {
172 return (

Callers 1

FormViewFunction · 0.85

Calls 1

ViewFunction · 0.90

Tested by

no test coverage detected