File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/compass-global-writes/src/store Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ export function activateGlobalWritesPlugin(
6666 namespace : options . namespace ,
6767 status : ShardingStatuses . NOT_READY ,
6868 shardZones : [ ] ,
69+ isPluginTitleVisible : false ,
6970 } ,
7071 applyMiddleware (
7172 thunk . withExtraArgument ( {
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ const initialState: RootState = {
253253 namespace : '' ,
254254 status : ShardingStatuses . NOT_READY ,
255255 shardZones : [ ] ,
256- isPluginTitleVisible : true ,
256+ isPluginTitleVisible : false ,
257257} ;
258258
259259const reducer : Reducer < RootState , Action > = ( state = initialState , action ) => {
@@ -798,7 +798,7 @@ export const setPluginTitleVisibility = (
798798 status === ShardingStatuses . SHARDING &&
799799 ! pollingTimeout
800800 ) {
801- dispatch ( pollForShardKey ( ) ) ;
801+ void dispatch ( fetchNamespaceShardKey ( ) ) ;
802802 }
803803 } ;
804804} ;
You can’t perform that action at this time.
0 commit comments