Gantt chart doesn't show anything
### Expected Behavior

_No response_

### Actual Behaviour

When clicking on logs nothing is showing up

![image](https://github.com/kestra-io/kestra/assets/46634684/0e6899df-7457-44d8-a6ca-26064a4a24f7)


### Steps To Reproduce

_No response_

### Environment Information

- Kestra Version:
- Operating System (OS / Docker / Kubernetes):
- Java Version (If not docker):


### Example flow

_No response_
ui/src/components/executions/Logs.vue ui/src/components/logs/LogList.vue
ui/src/components/executions/Logs.vue ui/src/components/logs/LogList.vue
diff --git a/ui/src/components/executions/Logs.vue b/ui/src/components/executions/Logs.vue
index 31ab01384e..1b247494dd 100644
--- a/ui/src/components/executions/Logs.vue
+++ b/ui/src/components/executions/Logs.vue
@@ -41,7 +41,7 @@
                 v-for="taskRun in taskRunList"
                 :key="taskRun.id"
                 :task-run-id="taskRun.id"
-                :attempt="taskRun.attempt"
+                :attempt-number="taskRun.attempt"
                 :level="level"
                 :exclude-metas="['namespace', 'flowId', 'taskId', 'executionId']"
                 :filter="filter"
diff --git a/ui/src/components/logs/LogList.vue b/ui/src/components/logs/LogList.vue
index 3f985a3d50..99a625738e 100644
--- a/ui/src/components/logs/LogList.vue
+++ b/ui/src/components/logs/LogList.vue
@@ -225,7 +225,7 @@
                 type: Boolean,
                 default: false
             },
-            attempt: {
+            attemptNumber: {
                 type: Number,
                 default: undefined
             }
@@ -293,8 +293,8 @@
                 if (this.taskRunId) {
                     params.taskRunId = this.taskRunId;
 
-                    if (this.attempt) {
-                        params.attempt = this.attempt;
+                    if (this.attemptNumber) {
+                        params.attempt = this.attemptNumber;
                     }
                 }
 
@@ -329,7 +329,7 @@
                 if (this.logsToOpen.includes(this.execution.state.current)) {
                     this.currentTaskRuns.forEach((taskRun) => {
                         if (taskRun.state.current === State.FAILED || taskRun.state.current === State.RUNNING) {
-                            const attemptNumber = taskRun.attempts ? taskRun.attempts.length - 1 : (this.attempt ?? 0)
+                            const attemptNumber = taskRun.attempts ? taskRun.attempts.length - 1 : (this.attemptNumber ?? 0)
                             if (this.showLogs.includes(`${taskRun.id}-${attemptNumber}`)) {
                                 this?.$refs?.[`${taskRun.id}-${attemptNumber}`]?.[0]?.scrollToBottom();
                             }
@@ -433,7 +433,7 @@
                 }
             },
             attempts(taskRun) {
-                return this.execution.state.current === State.RUNNING ? taskRun.attempts : [taskRun.attempts[this.attempt]] ;
+                return this.execution.state.current === State.RUNNING || !this.attemptNumber ? taskRun.attempts : [taskRun.attempts[this.attemptNumber]] ;
             },
             onTaskSelect(dropdownVisible, task) {
                 if (dropdownVisible && this.taskRun?.id !== task.id) {
@@ -444,7 +444,7 @@
                 this.showLogs = _xor(this.showLogs, [currentTaskRunId])
             },
             taskAttempt(index) {
-                return this.attempt || index
+                return this.attemptNumber || index
             }
         },
         beforeUnmount() {
