fix(extraSidebarComponent): update condition to show ExportMemo button based on hasApiKey and validApiKey variables
This commit is contained in:
parent
2909fd73e4
commit
34474166b8
1 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ export default function ExtraSidebar(): JSX.Element {
|
|||
return (
|
||||
<div className="side-bar-arrangement">
|
||||
<div className="side-bar-buttons-arrangement">
|
||||
{hasStore && (
|
||||
{hasStore && validApiKey && (
|
||||
<ShadTooltip
|
||||
content={
|
||||
!hasApiKey || !validApiKey
|
||||
|
|
@ -263,7 +263,7 @@ export default function ExtraSidebar(): JSX.Element {
|
|||
</button>
|
||||
</ShadTooltip>
|
||||
</div>
|
||||
{!hasStore && ExportMemo}
|
||||
{(!hasApiKey || !validApiKey) && ExportMemo}
|
||||
<ShadTooltip content={"Code"} side="top">
|
||||
<div className="side-bar-button">
|
||||
{flow && flow.data && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue