Skip to content

Commit

Permalink
add topbar action menu ext
Browse files Browse the repository at this point in the history
Signed-off-by: ashutosh16 <ashutosh_singh@intuit.com>
  • Loading branch information
ashutosh16 committed Aug 26, 2024
1 parent 10bd773 commit 7faeb45
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ export class ApplicationDetails extends React.Component<RouteComponentProps<{app
namespace: application.metadata.namespace
});

const activeExtension = this.state.statusExtensionsMap[this.selectedExtension];
const activeStatusExt = this.state.statusExtensionsMap[this.selectedExtension];
const activeTopBarActionMenuExt = this.state.topBarActionMenuExtsMap[this.selectedExtension];

return (
Expand Down Expand Up @@ -883,10 +883,10 @@ export class ApplicationDetails extends React.Component<RouteComponentProps<{app
)}
</SlidingPanel>
<SlidingPanel
isShown={this.selectedExtension !== '' && activeExtension != null && activeExtension.flyout != null}
isShown={this.selectedExtension !== '' && activeStatusExt != null && activeStatusExt.flyout != null}
onClose={() => this.setExtensionPanelVisible('')}>
{this.selectedExtension !== '' && activeExtension && activeExtension.flyout && (
<activeExtension.flyout application={application} tree={tree} />
{this.selectedExtension !== '' && activeStatusExt && activeStatusExt.flyout && (
<activeStatusExt.flyout application={application} tree={tree} />
)}
</SlidingPanel>
<SlidingPanel
Expand Down

0 comments on commit 7faeb45

Please sign in to comment.