fix: surround a tag with feature flag for ENABLE_BRANDING (#3581)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-08-27 22:01:19 -03:00 committed by GitHub
commit 63cf0cff29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,16 +108,17 @@ export default function FlowPage({ view }: { view?: boolean }): JSX.Element {
</main>
</div>
)}
<a
target={"_blank"}
href="https://medium.com/logspace/langflow-datastax-better-together-1b7462cebc4d"
className="langflow-page-icon"
>
{FeatureFlags.ENABLE_BRANDING && version && (
{FeatureFlags.ENABLE_BRANDING && version && (
<a
target={"_blank"}
href="https://medium.com/logspace/langflow-datastax-better-together-1b7462cebc4d"
className="langflow-page-icon"
>
<div className="mt-1">Langflow 🤝 DataStax</div>
)}
<div className={version ? "mt-2" : "mt-1"}> v{version}</div>
</a>
<div className={version ? "mt-2" : "mt-1"}> v{version}</div>
</a>
)}
</div>
{blocker.state === "blocked" && currentSavedFlow && (
<SaveChangesModal