Campaign detail: fix customer link pointing to ERPNext instead of Ops

The recipient row's customer link was href="/#/clients/<id>" — with the app on
hash routing served under /ops/, a leading slash before # resolves against the
site root, dropping /ops/ and landing on ERPNext desk. Drop the leading slash
so it stays scoped under the current /ops/ path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
louispaulb 2026-07-09 13:57:54 -04:00
parent 2a9f201826
commit 1552df3984

View File

@ -147,7 +147,7 @@
<q-td :props="props"> <q-td :props="props">
<span v-if="props.row.customer_id"> <span v-if="props.row.customer_id">
<q-icon name="person" size="14px" class="q-mr-xs" /> <q-icon name="person" size="14px" class="q-mr-xs" />
<a :href="`/#/clients/${props.row.customer_id}`" target="_blank" style="color:var(--q-primary)"> <a :href="`#/clients/${props.row.customer_id}`" target="_blank" style="color:var(--q-primary)">
{{ props.row.customer_name || props.row.customer_id }} {{ props.row.customer_name || props.row.customer_id }}
</a> </a>
<q-chip dense size="xs" outline class="q-ml-xs">{{ props.row.match_method }}</q-chip> <q-chip dense size="xs" outline class="q-ml-xs">{{ props.row.match_method }}</q-chip>