From fb0d8c348a590cf266d502bcc5e5cb6da4d6af9e Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 30 Mar 2021 16:21:22 +0530 Subject: [PATCH] Remove the alertify error message as no need to show it when the user presses the keyboard shortcut to open the View/Edit data on unsupported nodes. refs #6206 --- web/pgadmin/tools/datagrid/static/js/show_data.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web/pgadmin/tools/datagrid/static/js/show_data.js b/web/pgadmin/tools/datagrid/static/js/show_data.js index e41978876..5a603aa1f 100644 --- a/web/pgadmin/tools/datagrid/static/js/show_data.js +++ b/web/pgadmin/tools/datagrid/static/js/show_data.js @@ -45,7 +45,6 @@ export function showDataGrid( let applicable_nodes = ['table', 'view', 'mview', 'foreign_table']; if (applicable_nodes.indexOf(node.getData()._type) === -1) { - alertify.error(gettext('This feature is not applicable to the selected object.')); return; }