mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed review comments:
1. Split the restore options/backup options into 2 tabs 2. Restore icon changes 3. feature tests issues 4. restore help link broken 5. Comment section not visible refs #7018
This commit is contained in:
committed by
Akshay Joshi
parent
f56b4030f1
commit
6528d086ba
@@ -509,7 +509,7 @@ define('pgadmin.browser.node', [
|
||||
w: (!_.isUndefined(width) && !_.isNull(width)) ? width :
|
||||
(screen.width < 700 ? screen.width * 0.95 : screen.width * 0.5),
|
||||
h: (!_.isUndefined(height) && !_.isNull(height)) ? height :
|
||||
(screen.height < 500 ? screen.height * 0.95 : screen.height * 0.35),
|
||||
(screen.height < 500 ? screen.height * 0.95 : screen.height * 0.4),
|
||||
x: (screen.width < 700 ? '2%' : '25%'),
|
||||
y: (screen.height < 500 ? '2%' : '25%'),
|
||||
}
|
||||
|
||||
@@ -26,6 +26,9 @@ export function getUtilityView(schema, treeNodeInfo, actionType, formType, conta
|
||||
};
|
||||
const confirmOnReset = pgAdmin.Browser.get_preferences_for_module('browser').confirm_on_properties_close;
|
||||
|
||||
/* button icons */
|
||||
const saveBtnIcon = extraData.save_btn_icon;
|
||||
|
||||
/* on save button callback, promise required */
|
||||
const onSaveClick = (isNew, data)=>new Promise((resolve, reject)=>{
|
||||
return api({
|
||||
@@ -90,6 +93,7 @@ export function getUtilityView(schema, treeNodeInfo, actionType, formType, conta
|
||||
schema={_schema}
|
||||
viewHelperProps={viewHelperProps}
|
||||
customSaveBtnName={saveBtnName}
|
||||
customSaveBtnIconType={saveBtnIcon}
|
||||
onSave={onSaveClick}
|
||||
onClose={()=>containerPanel.close()}
|
||||
onHelp={onHelp}
|
||||
|
||||
Reference in New Issue
Block a user