Web: only show the task details when there is a job

The "select a task" text only makes sense when there is a task to be
selected, so if there is no selected job, don't even show that.
This commit is contained in:
Sybren A. Stüvel 2022-08-02 10:41:47 +02:00
parent ea1bbdf95a
commit 2185d8b5ee

@ -7,7 +7,7 @@
<tasks-table v-if="hasJobData" ref="tasksTable" :jobID="jobID" :taskID="taskID" @tableRowClicked="onTableTaskClicked" />
</div>
<div class="col col-3">
<task-details :taskData="tasks.activeTask" @showTaskLogTail="showTaskLogTail" />
<task-details v-if="hasJobData" :taskData="tasks.activeTask" @showTaskLogTail="showTaskLogTail" />
</div>
<footer class="app-footer" v-if="!showFooterPopup" @click="showFooterPopup = true">