Skip to content

Commit

Permalink
1) Fixed an issue where User Language is not getting changed.
Browse files Browse the repository at this point in the history
2) Fixed an issue where Import/Export Server menu is disabled.
3) Update few JavaScript dependencies.
  • Loading branch information
akshay-joshi committed Jan 7, 2025
1 parent b9c7e7e commit bac50e1
Show file tree
Hide file tree
Showing 5 changed files with 290 additions and 553 deletions.
1 change: 1 addition & 0 deletions docs/en_US/release_notes_9_0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ Bug fixes
| `Issue #8256 <https://github.com/pgadmin-org/pgadmin4/issues/8256>`_ - Fix the error occurring while loading preferences on startup.
| `Issue #8273 <https://github.com/pgadmin-org/pgadmin4/issues/8273>`_ - Fixed an issue where copying query tool output cell is not working if any SQL text is selected.
| `Issue #8299 <https://github.com/pgadmin-org/pgadmin4/issues/8299>`_ - Ensure master password pop up is not shown on setting MASTER_PASSWORD_REQUIRED to false.
| `Issue #8309 <https://github.com/pgadmin-org/pgadmin4/issues/8309>`_ - Remove the option "With no data (concurrently)" from Refresh MATERIALIZED VIEW context menu.
6 changes: 3 additions & 3 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^9.17.0",
"eslint-plugin-jest": "^28.8.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-unused-imports": "^4.1.4",
"exports-loader": "^5.0.0",
Expand Down Expand Up @@ -85,7 +85,7 @@
"@projectstorm/react-diagrams": "^7.0.4",
"@simonwep/pickr": "^1.5.1",
"@szhsin/react-menu": "^4.2.2",
"@tanstack/react-query": "5.62.8",
"@tanstack/react-query": "5.62.15",
"@tanstack/react-table": "^8.16.0",
"@tanstack/react-virtual": "^3.8.4",
"@types/classnames": "^2.3.4",
Expand Down Expand Up @@ -138,7 +138,7 @@
"react-frame-component": "^5.2.6",
"react-leaflet": "^4.2.1",
"react-new-window": "^1.0.1",
"react-resize-detector": "^12.0.1",
"react-resize-detector": "^12.0.2",
"react-rnd": "^10.4.14",
"react-select": "^5.7.2",
"react-timer-hook": "^3.0.5",
Expand Down
2 changes: 1 addition & 1 deletion web/pgadmin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def get_locale():
if user is not None:
user_id = user.id
user_language = Preferences.raw_value(
'misc', 'user_language', 'user_language', user_id
'misc', 'user_language', 'user_interface', user_id
)
if user_language is not None:
language = user_language
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function WorkspaceProvider({children}) {
const lastSelectedTreeItem = useRef();
const isClassic = (usePreferences()?.getPreferencesForModule('misc')?.layout ?? 'classic') == 'classic';

pgAdmin.Browser.docker.currentWorkspace = WORKSPACES.DEFAULT;
/* In case of classic UI all workspace objects should point to the
* the instance of the default layout.
*/
Expand Down
Loading

0 comments on commit bac50e1

Please sign in to comment.