mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
committed by
Akshay Joshi
parent
c8ef4733d0
commit
306b184e11
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user