mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Port preferences dialog to React. Fixes #7149
This commit is contained in:
committed by
Akshay Joshi
parent
3299b0c1b0
commit
74e794b416
21
web/pgadmin/preferences/static/js/index.js
Normal file
21
web/pgadmin/preferences/static/js/index.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/////////////////////////////////////////////////////////////
|
||||
//
|
||||
// pgAdmin 4 - PostgreSQL Tools
|
||||
//
|
||||
// Copyright (C) 2013 - 2022, The pgAdmin Development Team
|
||||
// This software is released under the PostgreSQL Licence
|
||||
//
|
||||
//////////////////////////////////////////////////////////////
|
||||
import pgAdmin from 'sources/pgadmin';
|
||||
import pgBrowser from 'top/browser/static/js/browser';
|
||||
import Preferences from './preferences';
|
||||
|
||||
if(!pgAdmin.Preferences) {
|
||||
pgAdmin.Preferences = {};
|
||||
}
|
||||
|
||||
pgAdmin.Preferences = Preferences.getInstance(pgAdmin, pgBrowser);
|
||||
|
||||
module.exports = {
|
||||
Preferences: Preferences,
|
||||
};
|
||||
Reference in New Issue
Block a user