fix(ui): render dev router cards immediately

This commit is contained in:
yaya
2026-10-09 13:42:28 +01:00
parent 963dd03f83
commit 5ca345162d
@@ -127,8 +127,9 @@ async function search() {
function openShop() { function openShop() {
open.value = true open.value = true
query.value = 'openwrt' query.value = 'openwrt'
if (import.meta.env.DEV) listings.value = DEV_LISTINGS
emit('open') emit('open')
if (!listings.value.length) void search() void search()
} }
function closeShop() { open.value = false; closeSockets(); emit('close') } function closeShop() { open.value = false; closeSockets(); emit('close') }
function formatPrice(item: RouterListing) { function formatPrice(item: RouterListing) {