mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed API test cases for missing language pack and jasmin test case.
This commit is contained in:
@@ -91,7 +91,10 @@ _.extend(pgBrowser, {
|
||||
},
|
||||
|
||||
logout_inactivity_user: function() {
|
||||
window.location.href = pgBrowser.utils.logout_url;
|
||||
if (!_.isUndefined(pgBrowser.utils) &&
|
||||
!_.isUndefined(pgBrowser.utils.logout_url)) {
|
||||
window.location.href = pgBrowser.utils.logout_url;
|
||||
}
|
||||
},
|
||||
|
||||
/* The daemon will track and logout when timeout occurs */
|
||||
|
||||
Reference in New Issue
Block a user