mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 14:10:26 +00:00
make list empty state clickable
This commit is contained in:
parent
8cfebe6810
commit
a9f566c945
1 changed files with 9 additions and 3 deletions
|
@ -40,9 +40,15 @@
|
|||
:list-id="listIndex"
|
||||
/>
|
||||
|
||||
<b-alert variant="secondary" show v-if="isEmpty" class="mb-2 text-center">
|
||||
<small class="text-muted">Drag games here</small>
|
||||
</b-alert>
|
||||
<b-button
|
||||
variant="light"
|
||||
block
|
||||
v-if="isEmpty"
|
||||
class="mb-2"
|
||||
v-b-modal="`game-modal-${listIndex}`"
|
||||
>
|
||||
Click here or drag games here
|
||||
</b-button>
|
||||
</draggable>
|
||||
</b-card>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue