File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
containers/Cluster/ClusterInfo Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ export const ClusterInfo = ({
126126} : ClusterInfoProps ) => {
127127 const singleClusterMode = useTypedSelector ( ( state ) => state . singleClusterMode ) ;
128128
129- const [ clusterInfoHidden , setClusterInfoHidden ] = useSetting ( CLUSTER_INFO_HIDDEN_KEY , false ) ;
129+ const [ clusterInfoHidden , setClusterInfoHidden ] = useSetting < boolean > ( CLUSTER_INFO_HIDDEN_KEY ) ;
130130
131131 const togleClusterInfoVisibility = ( ) => {
132132 setClusterInfoHidden ( ! clusterInfoHidden ) ;
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export const initialState = {
6262 [ QUERY_INITIAL_MODE_KEY ] : readSavedSettingsValue ( QUERY_INITIAL_MODE_KEY , QueryModes . script ) ,
6363 [ ASIDE_HEADER_COMPACT_KEY ] : readSavedSettingsValue ( ASIDE_HEADER_COMPACT_KEY , 'true' ) ,
6464 [ PARTITIONS_HIDDEN_COLUMNS_KEY ] : readSavedSettingsValue ( PARTITIONS_HIDDEN_COLUMNS_KEY ) ,
65- [ CLUSTER_INFO_HIDDEN_KEY ] : readSavedSettingsValue ( CLUSTER_INFO_HIDDEN_KEY , 'false ' ) ,
65+ [ CLUSTER_INFO_HIDDEN_KEY ] : readSavedSettingsValue ( CLUSTER_INFO_HIDDEN_KEY , 'true ' ) ,
6666 } ,
6767 systemSettings,
6868} ;
You can’t perform that action at this time.
0 commit comments