From 123ad203cf52ccdd847e124384b4d12a6e898dbd Mon Sep 17 00:00:00 2001 From: MariaAga Date: Wed, 10 Jul 2024 16:39:36 +0100 Subject: [PATCH] Fixes #37592 - open Documentation in new tab in generic table --- .../components/PF4/TableIndexPage/TableIndexPage.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js index fc5cfd36592..41e77ff54cd 100644 --- a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js +++ b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js @@ -193,7 +193,10 @@ const TableIndexPage = ({ hasHelpPage && { title: __('Documentation'), icon: , - action: { href: customHelpURL || helpURL() }, + action: { + href: customHelpURL || helpURL(), + target: '_blank', + }, }, ...customActionButtons, ].filter(item => item);