mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-08 01:05:15 +00:00
Fix "Change network settings" button send the wrong message type (#1360)
This commit is contained in:
parent
b0eaac5b84
commit
950c8ee470
@ -32,7 +32,7 @@ export const Tabs = ({ explorer }: TabsProps): JSX.Element => {
|
|||||||
<MessageBar
|
<MessageBar
|
||||||
messageBarType={MessageBarType.warning}
|
messageBarType={MessageBarType.warning}
|
||||||
actions={
|
actions={
|
||||||
<MessageBarButton onClick={() => sendMessage({ type: MessageTypes.OpenCosmosDBNetworkingBlade })}>
|
<MessageBarButton onClick={() => sendMessage({ type: MessageTypes.OpenPostgresNetworkingBlade })}>
|
||||||
Change network settings
|
Change network settings
|
||||||
</MessageBarButton>
|
</MessageBarButton>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user