guan404ming commented on issue #47100:
URL: https://github.com/apache/airflow/issues/47100#issuecomment-2809910200
Hi, @pierrejeambrun I'm currently resolving this issue and I have a question
to ask: I'm not sure how to determine whether to show the external log in AF3
since AF2 is determine by values called showExternalLogRedirect and
externalLogName:
```typescript
function getMetaValue(name: string) {
const elem = document.querySelector(`meta[name="${name}"]`);
if (!elem) {
return "";
}
return elem.getAttribute("content") || "";
}
const showExternalLogRedirect = getMetaValue("show_external_log_redirect")
=== "True";
const externalLogName = getMetaValue("external_log_name");
```
I would like to ask that I should implement the `getMetaValue` here (but I
thought it's may not be good choice since no other places use the func) or is
there any better way to solve this issue?
Thanks in advance
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]