This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit dd6a05f737f5a3e885d89134008cfe4c83ce39ba
Author: Guan Ming(Wesley) Chiu <[email protected]>
AuthorDate: Fri Sep 19 02:55:22 2025 +0800

    Fix 'All Log Levels' option in TaskLogHeader (#55851)
    
    (cherry picked from commit 825d2008eb70ce0bf0087927e7545385b6c7998e)
---
 .../src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogHeader.tsx      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogHeader.tsx 
b/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogHeader.tsx
index ce994b2caf9..f99051d92a0 100644
--- a/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogHeader.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogHeader.tsx
@@ -103,7 +103,7 @@ export const TaskLogHeader = ({
     ({ value }: SelectValueChangeDetails<string>) => {
       const [val, ...rest] = value;
 
-      if ((val === undefined || val === "all") && rest.length === 0) {
+      if (((val === undefined || val === "all") && rest.length === 0) || 
rest.includes("all")) {
         searchParams.delete(SearchParamsKeys.LOG_LEVEL);
       } else {
         searchParams.delete(SearchParamsKeys.LOG_LEVEL);
@@ -120,7 +120,7 @@ export const TaskLogHeader = ({
     ({ value }: SelectValueChangeDetails<string>) => {
       const [val, ...rest] = value;
 
-      if ((val === undefined || val === "all") && rest.length === 0) {
+      if (((val === undefined || val === "all") && rest.length === 0) || 
rest.includes("all")) {
         searchParams.delete(SearchParamsKeys.SOURCE);
       } else {
         searchParams.delete(SearchParamsKeys.SOURCE);

Reply via email to