From c563502d6923ad7910a5f88e9025502efcf1433c Mon Sep 17 00:00:00 2001 From: Marylia Gutierrez Date: Fri, 15 Jul 2022 09:29:08 -0400 Subject: [PATCH] ui: remove link to stmt details on sessions details Previously, when a statment was active, it would show on the Sessions page with a link to view its details, but since the statement was not yet saved/persisted, clicking the link it would crash the Statement Details page. This commit removes this link. Fixes #84462 Release note (ui change): Removal of `View Statement Details` link inside the Sessions Details page. --- .../src/sessions/sessionDetails.tsx | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/pkg/ui/workspaces/cluster-ui/src/sessions/sessionDetails.tsx b/pkg/ui/workspaces/cluster-ui/src/sessions/sessionDetails.tsx index b2061105e42d..81d3488ad222 100644 --- a/pkg/ui/workspaces/cluster-ui/src/sessions/sessionDetails.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/sessions/sessionDetails.tsx @@ -321,27 +321,6 @@ export class SessionDetails extends React.Component { value={TimestampToMoment(stmt.start).format(DATE_FORMAT)} className={cx("details-item")} /> - - - this.props.onStatementClick && - this.props.onStatementClick() - } - > - View Statement Details - - - } - value={""} - className={cx("details-item")} - />