mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fix convert lead, url
This commit is contained in:
@@ -31,8 +31,8 @@ import RecordController from 'controllers/record';
|
||||
class LeadController extends RecordController {
|
||||
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
actionConvert(id) {
|
||||
this.main('crm:views/lead/convert', {id: id});
|
||||
actionConvert(options) {
|
||||
this.main('crm:views/lead/convert', {id: options.id});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class LeadDetailView extends DetailView {
|
||||
}
|
||||
|
||||
actionConvert() {
|
||||
this.getRouter().navigate(`${this.model.entityType}/convert/${this.model.id}` , {trigger: true});
|
||||
this.getRouter().navigate(`${this.model.entityType}/convert/id=${this.model.id}`, {trigger: true});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user