show list header only if there are items

This commit is contained in:
taehoon 2019-04-04 13:35:49 -04:00
parent ac62e47c70
commit 1afef1037e
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="selectable-list"> <div class="selectable-list">
<div class="selectable-list-header"> <div class="selectable-list-header" v-if="items.length > 0">
<div class="selectable-list-checkbox-wrapper"> <div class="selectable-list-checkbox-wrapper">
<Checkbox :checked="allSelected" @change="toggleAll" /> <Checkbox :checked="allSelected" @change="toggleAll" />
</div> </div>