Add activity detail, Jalali pickers, and customer/user profiles.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -165,7 +165,7 @@ async function submit() {
|
||||
|
||||
await api.patch(`/people/${id.value}`, payload());
|
||||
|
||||
await router.push({ name: 'contacts', query: { tab: undefined } });
|
||||
await router.push({ name: 'person-detail', params: { id: id.value } });
|
||||
|
||||
}
|
||||
|
||||
@@ -241,7 +241,10 @@ onMounted(load);
|
||||
|
||||
</div>
|
||||
|
||||
<RouterLink class="btn btn-ghost" :to="{ name: 'contacts' }">بازگشت</RouterLink>
|
||||
<RouterLink
|
||||
class="btn btn-ghost"
|
||||
:to="isNew ? { name: 'contacts' } : { name: 'person-detail', params: { id } }"
|
||||
>بازگشت</RouterLink>
|
||||
|
||||
</header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user