Skip to content

Commit 514725d

Browse files
committed
.
1 parent a6ae94d commit 514725d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/compass-global-writes/src/store/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export function activateGlobalWritesPlugin(
6666
namespace: options.namespace,
6767
status: ShardingStatuses.NOT_READY,
6868
shardZones: [],
69+
isPluginTitleVisible: true,
6970
},
7071
applyMiddleware(
7172
thunk.withExtraArgument({

packages/compass-global-writes/src/store/reducer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ export const setPluginTitleVisibility = (
798798
status === ShardingStatuses.SHARDING &&
799799
!pollingTimeout
800800
) {
801-
dispatch(pollForShardKey());
801+
void dispatch(fetchNamespaceShardKey());
802802
}
803803
};
804804
};

0 commit comments

Comments
 (0)