1. Fixed an issue where Alt-Shift-Q didn't work after creating a new query. Fixes #7575

2. Fixed an issue where the Query Editor loses focus when saving a query (Alt+s). Fixes #7521
3. Ensure that an error is thrown if clipboard access is not provided and change the copy rows shortcut. Fixes #7452
This commit is contained in:
Aditya Toshniwal
2022-08-17 17:23:11 +05:30
committed by Akshay Joshi
parent c8ef4733d0
commit 306b184e11
10 changed files with 55 additions and 21 deletions

View File

@@ -21,6 +21,7 @@ import DeleteIcon from '@material-ui/icons/Delete';
import HelpIcon from '@material-ui/icons/HelpRounded';
import url_for from 'sources/url_for';
import { Box } from '@material-ui/core';
import { useMemo } from 'react';
const useStyles = makeStyles((theme) => ({
@@ -98,7 +99,7 @@ export default function Processes() {
const [tableData, setTableData] = React.useState([]);
const [selectedRows, setSelectedRows] = React.useState([]);
let columns = [
let columns = useMemo(()=>[
{
accessor: 'stop_process',
Header: () => null,
@@ -224,7 +225,7 @@ export default function Processes() {
resizable: true,
disableGlobalFilter: true,
},
];
], []);
const updateList = ()=>{
if(pgAdmin.Browser.BgProcessManager.procList) {