### Apache Airflow version

2.7.0rc2

### What happened

In the Airflow UI, currently, the DAG Processor is visible in the Cluster Activity page even if there is no stand-alone dag processor. 

### What you think should happen instead

It should be hidden if there is no stand-alone dag processor.

### How to reproduce

Run Airflow 2.7 

### Operating System

Mac OS

### Versions of Apache Airflow Providers

Airflow > 2.7

### Deployment

Official Apache Airflow Helm Chart

### Deployment details

_No response_

### Anything else

_No response_

### Are you willing to submit PR?

- [X] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

chart = nvd3.lineChart(
            name="lineChart",
            x_custom_format=True,
            x_axis_date=True,
            x_axis_format=LINECHART_X_AXIS_TICKFORMAT,
            height=chart_height,
            chart_attr=self.line_chart_attr,
        )
        y_points: dict[str, list[float]] = collections.defaultdict(list)
        x_points: dict[str, list[tuple[int]]] = collections.defaultdict(list)
        for task in dag.tasks:
            task_id = task.task_id
            for ti in tis:
                if ti.task_id == task.task_id:
                    ts = dag.get_run_data_interval(ti.dag_run).end
                    if ti.end_date:
                        dttm = wwwutils.epoch(ti.execution_date)
                        secs = (ti.end_date - ts).total_seconds()
                        x_points[task_id].append(dttm)
                        y_points[task_id].append(secs)
        
        
        y_unit = infer_time_unit([d for t in y_points.values() for d in t])
        
        chart.create_y_axis("yAxis", format=".02f", custom_format=False, label=f"Landing Time ({y_unit})")
        chart.axislist["yAxis"]["axisLabelDistance"] = "-15"
        for task_id in x_points:
            chart.add_serie(
                name=task_id,
                x=x_points[task_id],