Skip to content

Commit afcf318

Browse files
committed
empty states handled
1 parent 31710ae commit afcf318

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

vue-frontend/warehouse-frontend/src/views/ParentPage.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,11 @@ export default {
381381
</tr>
382382
</transition-group>
383383
</table>
384+
385+
<div style="text-align: center" v-if="transactionsList.length === 0">
386+
<p style="padding-bottom: 5px; padding-top: 10px">Scan an asset to get started</p>
387+
<hr/>
388+
</div>
384389
</div>
385390

386391
<!-- Inventory List -->
@@ -413,6 +418,11 @@ export default {
413418
</tr>
414419
</transition-group>
415420
</table>
421+
422+
<div style="text-align: center" v-if="inventoryList.length === 0">
423+
<p style="padding-bottom: 5px; padding-top: 10px">Scan an asset to get started</p>
424+
<hr/>
425+
</div>
416426
</div>
417427
</div>
418428

0 commit comments

Comments
 (0)