fix admin and montzar
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
|
||||
<ul>
|
||||
<li class="comment-item">
|
||||
<img src="../../../assets/images/logo/henza-icon.svg" alt="comment author" class="img border" />
|
||||
<img src="../../../assets/images/logo/montzar-icon.png" alt="comment author" class="img border" />
|
||||
<div class="comment-body">
|
||||
<h5>ادمین</h5>
|
||||
<span v-if="tempRow.reply && tempRow.reply[0]" class="time">
|
||||
@@ -185,12 +185,12 @@ const showChangeReplyBtn = computed(
|
||||
|
||||
/**
|
||||
* legacy built a storefront link from the product title:
|
||||
* https://henzagold.com/product/<title-with-dashes>/<id>
|
||||
* https://bnk.montzar.ir/product/<title-with-dashes>/<id>
|
||||
* The host is kept because it points at the live public site, not the API.
|
||||
*/
|
||||
function productLink(record: Record<string, any>) {
|
||||
const slug = String(record.product?.title ?? '').split(' ').join('-');
|
||||
return `https://henzagold.com/product/${slug}/${record.product?.id}`;
|
||||
return `https://bnk.montzar.ir/product/${slug}/${record.product?.id}`;
|
||||
}
|
||||
|
||||
async function changeSts(id: string, sts: number) {
|
||||
|
||||
Reference in New Issue
Block a user