From 59311625568674edcfca9c3d643db1966dee5774 Mon Sep 17 00:00:00 2001
From: JyotiEdb <159109909+JyotiEdb@users.noreply.github.com>
Date: Thu, 28 Mar 2024 11:53:56 +0530
Subject: [PATCH] Fixed an issue where maximize icon is missing from query tool
panel. #7218
---
.../sqleditor/static/js/components/QueryToolComponent.jsx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx b/web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx
index e3f5aaefd..ce4c373ca 100644
--- a/web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx
+++ b/web/pgadmin/tools/sqleditor/static/js/components/QueryToolComponent.jsx
@@ -248,6 +248,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
mode: 'horizontal',
children: [
{
+ maximizable: true,
tabs: [
LayoutDocker.getPanel({id: PANELS.QUERY, title: gettext('Query'), content: }),
LayoutDocker.getPanel({id: PANELS.HISTORY, title: gettext('Query History'), content: ,
@@ -256,6 +257,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
},
{
size: 75,
+ maximizable: true,
tabs: [
LayoutDocker.getPanel({
id: PANELS.SCRATCH, title: gettext('Scratch Pad'),
@@ -275,6 +277,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
mode: 'horizontal',
children: [
{
+ maximizable: true,
tabs: [
LayoutDocker.getPanel({
id: PANELS.DATA_OUTPUT, title: gettext('Data Output'), content: ,