mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
fix(inbounds): use sortedInbounds for mobile empty-state check
InboundList referenced an undefined visibleInbounds in the mobile card list's empty-state guard, throwing "Cannot read properties of undefined (reading 'length')" and breaking the entire mobile render.
This commit is contained in:
parent
5f98a2db72
commit
84fbd23f1b
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ function showQrCodeMenu(dbInbound) {
|
|||
<a-space direction="vertical" :style="{ width: '100%' }">
|
||||
<!-- ====================== Mobile: card list ======================= -->
|
||||
<div v-if="isMobile" class="inbound-cards">
|
||||
<div v-if="visibleInbounds.length === 0" class="card-empty">—</div>
|
||||
<div v-if="sortedInbounds.length === 0" class="card-empty">—</div>
|
||||
|
||||
<div v-for="record in sortedInbounds" :key="record.id" class="inbound-card">
|
||||
<!-- Header: id + remark + info + enable + actions -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue