File tree Expand file tree Collapse file tree
pkg/ui/workspaces/cluster-ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @cockroachlabs/cluster-ui" ,
3- "version" : " 26.2.2 " ,
3+ "version" : " 26.2.3 " ,
44 "description" : " Cluster UI is a library of large features shared between CockroachDB and CockroachCloud" ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change 55
66export * from "./jobDescriptionCell" ;
77export * from "./jobsPage" ;
8- export * from "./jobsTable" ;
98export * from "./jobsPageConnected" ;
9+ export * from "./jobsTable" ;
Original file line number Diff line number Diff line change @@ -19,7 +19,14 @@ import { actions as localStorageActions } from "../../store/localStorage";
1919
2020import { JobsPage } from "./jobsPage" ;
2121
22- export const JobsPageConnected : React . FC = ( ) => {
22+ export interface JobsPageConnectedProps {
23+ // When true, suppresses the page header for use inside a parent layout
24+ // that already provides its own heading (e.g. the console nav shell).
25+ isEmbedded ?: boolean ;
26+ }
27+
28+ export const JobsPageConnected : React . FC < JobsPageConnectedProps > = props => {
29+ const { isEmbedded = false } = props ;
2330 const dispatch = useDispatch ( ) ;
2431 const sort = useSelector ( selectSortSetting ) ;
2532 const status = useSelector ( selectStatusSetting ) ;
@@ -107,6 +114,7 @@ export const JobsPageConnected: React.FC = () => {
107114 setShow = { setShow }
108115 setType = { setType }
109116 onColumnsChange = { onColumnsChange }
117+ isEmbedded = { isEmbedded }
110118 />
111119 ) ;
112120} ;
You can’t perform that action at this time.
0 commit comments