Remove unused deal delete helper that failed the production Vue build.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -357,16 +357,6 @@ async function submit() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async function remove() {
|
|
||||||
if (!id.value || !confirm('این معامله حذف شود؟')) return;
|
|
||||||
try {
|
|
||||||
await api.delete(`/deals/${id.value}`);
|
|
||||||
await router.push({ name: 'pipeline' });
|
|
||||||
} catch {
|
|
||||||
error.value = 'حذف ناموفق بود';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function openNotes() {
|
function openNotes() {
|
||||||
if (window.innerWidth < 960) tab.value = 'notes';
|
if (window.innerWidth < 960) tab.value = 'notes';
|
||||||
document.getElementById('notes')?.focus();
|
document.getElementById('notes')?.focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user