mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-03-25 09:25:51 +00:00
feat: V8 store page
This commit is contained in:
parent
3baf84abd8
commit
52645faa84
1 changed files with 2 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ export async function renderStore($app, storeLabelRaw) {
|
|||
const pctBadge = priceBadgeHtml(it);
|
||||
|
||||
const skuLink = `#/link/?left=${encodeURIComponent(String(it.sku || ""))}`;
|
||||
|
||||
console.log(it);
|
||||
return `
|
||||
<div class="item" data-sku="${esc(it.sku)}">
|
||||
<div class="itemRow">
|
||||
|
|
@ -268,7 +268,7 @@ export async function renderStore($app, storeLabelRaw) {
|
|||
<span class="mono price">${esc(price)}</span>
|
||||
${
|
||||
href
|
||||
? `<a class="badge" href="${esc(href)}" target="_blank" rel="noopener noreferrer" onclick="event.stopPropagation()">${normStoreLabel(it.store)}</a>`
|
||||
? `<a class="badge" href="${esc(href)}" target="_blank" rel="noopener noreferrer" onclick="event.stopPropagation()">${esc(storeLabel)}</a>`
|
||||
: ``
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue