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> </main>
</div> </div>
)} )}
<a {FeatureFlags.ENABLE_BRANDING && version && (
target={"_blank"} <a
href="https://medium.com/logspace/langflow-datastax-better-together-1b7462cebc4d" target={"_blank"}
className="langflow-page-icon" href="https://medium.com/logspace/langflow-datastax-better-together-1b7462cebc4d"
> className="langflow-page-icon"
{FeatureFlags.ENABLE_BRANDING && version && ( >
<div className="mt-1">Langflow 🤝 DataStax</div> <div className="mt-1">Langflow 🤝 DataStax</div>
)}
<div className={version ? "mt-2" : "mt-1"}>⛓️ v{version}</div> <div className={version ? "mt-2" : "mt-1"}>⛓️ v{version}</div>
</a> </a>
)}
</div> </div>
{blocker.state === "blocked" && currentSavedFlow && ( {blocker.state === "blocked" && currentSavedFlow && (
<SaveChangesModal <SaveChangesModal