fix(ui): render dev router cards immediately
This commit is contained in:
@@ -127,8 +127,9 @@ async function search() {
|
||||
function openShop() {
|
||||
open.value = true
|
||||
query.value = 'openwrt'
|
||||
if (import.meta.env.DEV) listings.value = DEV_LISTINGS
|
||||
emit('open')
|
||||
if (!listings.value.length) void search()
|
||||
void search()
|
||||
}
|
||||
function closeShop() { open.value = false; closeSockets(); emit('close') }
|
||||
function formatPrice(item: RouterListing) {
|
||||
|
||||
Reference in New Issue
Block a user