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

View file

@ -1,6 +1,6 @@
<template>
<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">
<Checkbox :checked="allSelected" @change="toggleAll" />
</div>