fix(ui): render dev router cards immediately
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user