mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that Dashboard graphs should be refreshed on changing the node from the browser tree. Fixes #7402
This commit is contained in:
parent
11cfea3860
commit
50b1ba5c80
@ -26,3 +26,4 @@ Bug fixes
|
||||
| `Issue #7383 <https://redmine.postgresql.org/issues/7383>`_ - Fixed an issue where Preferences are not saved when the dialog is maximized.
|
||||
| `Issue #7388 <https://redmine.postgresql.org/issues/7388>`_ - Fixed an issue where an error message fills the entire window if the query is long.
|
||||
| `Issue #7393 <https://redmine.postgresql.org/issues/7393>`_ - Ensure that the editor position should not get changed once it is opened.
|
||||
| `Issue #7402 <https://redmine.postgresql.org/issues/7402>`_ - Ensure that Dashboard graphs should be refreshed on changing the node from the browser tree.
|
||||
|
@ -793,6 +793,7 @@ export default function Dashboard({
|
||||
<Box className={classes.emptyPanel}>
|
||||
{!_.isUndefined(preferences) && preferences.show_graphs && (
|
||||
<Graphs
|
||||
key={sid + did}
|
||||
preferences={preferences}
|
||||
sid={sid}
|
||||
did={did}
|
||||
@ -802,9 +803,9 @@ export default function Dashboard({
|
||||
<Box className={classes.panelContent}>
|
||||
<Box
|
||||
className={classes.cardHeader}
|
||||
title={gettext('Server activity')}
|
||||
title={props.dbConnected ? gettext('Database activity') : gettext('Server activity')}
|
||||
>
|
||||
{gettext('Server activity')}{' '}
|
||||
{props.dbConnected ? gettext('Database activity') : gettext('Server activity')}{' '}
|
||||
</Box>
|
||||
<Box height="100%" display="flex" flexDirection="column">
|
||||
<Box>
|
||||
|
Loading…
Reference in New Issue
Block a user