mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-24 03:55:15 +00:00
feat: don't show clear button on empty list
This commit is contained in:
parent
8b8a7a0f06
commit
7f3d93d1e2
|
@ -45,6 +45,8 @@ const { runningJobs, clearJobs } = useBackgroundJob();
|
|||
</div>
|
||||
</BListGroupItem>
|
||||
</BListGroup>
|
||||
<BButton size="sm" class="ms-auto" @click="clearJobs"><i-mdi-delete /></BButton>
|
||||
<BButton v-if="Object.keys(runningJobs).length > 0" size="sm" class="ms-auto" @click="clearJobs"
|
||||
><i-mdi-delete
|
||||
/></BButton>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue
Block a user