Fix "Change network settings" button send the wrong message type (#1360)

This commit is contained in:
victor-meng
2022-12-09 15:48:23 -08:00
committed by GitHub
parent b0eaac5b84
commit 950c8ee470

View File

@@ -32,7 +32,7 @@ export const Tabs = ({ explorer }: TabsProps): JSX.Element => {
<MessageBar
messageBarType={MessageBarType.warning}
actions={
<MessageBarButton onClick={() => sendMessage({ type: MessageTypes.OpenCosmosDBNetworkingBlade })}>
<MessageBarButton onClick={() => sendMessage({ type: MessageTypes.OpenPostgresNetworkingBlade })}>
Change network settings
</MessageBarButton>
}