Fix following issues:

1. Debian builds are failing after commiting changes for #9240.
2. Object explorer context menu shows "No objects selected" on preferences change.
pull/9326/head
Aditya Toshniwal 2025-11-04 16:49:12 +05:30
parent e6f6a90d2f
commit 39b6f40482
3 changed files with 7 additions and 3 deletions

View File

@ -209,7 +209,10 @@ _build_docs() {
cd "${SERVERROOT}" && mkdir -p "usr/${APP_NAME}/share/docs/en_US/html"
cd "${SOURCEDIR}/docs/en_US" || exit
python3 build_code_snippet.py
"${SYSTEM_PYTHON_PATH}" -msphinx . "${SERVERROOT}/usr/${APP_NAME}/share/docs/en_US/html"
SYS_PYTHON_PACKS=$("${SYSTEM_PYTHON_PATH}" -c "import sys; print(':'.join([p for p in sys.path if p]))")
# shellcheck disable=SC2153
PYTHONPATH=$PYTHONPATH:${SYS_PYTHON_PACKS} python3 -msphinx . "${SERVERROOT}/usr/${APP_NAME}/share/docs/en_US/html"
}
_copy_code() {

View File

@ -129,7 +129,8 @@ export default class MainMenuFactory {
}
static enableDisableMenus(item) {
let itemData = item ? pgAdmin.Browser.tree.itemData(item) : pgAdmin.Browser.tree?.selected();
item = item || pgAdmin.Browser.tree?.selected();
let itemData = pgAdmin.Browser.tree?.itemData(item);
const checkForItems = (items)=>{
items.forEach((mitem) => {

View File

@ -55,7 +55,7 @@ export function DataGridRow({row, isResizing}) {
return useMemo(() => (
!row ? <></> :
<DataGridRowContext.Provider value={{ rowAccessPath, row }}>
<Draggable nodeRef={rowRef}>
<Draggable nodeRef={rowRef} disabled>
<PgReactTableRowContent ref={rowRef}
className={classList.join[' ']}
data-test='data-table-row' style={{position: 'initial'}}