Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
redirectToArticle(event) {
// Navigate to the CaseComments related list page
// for a specific Case record.
event.preventDefault();
this[NavigationMixin.Navigate]({
type: 'standard__recordPage',
attributes: {
recordId: event.currentTarget.dataset.toto,
objectApiName: 'Knowledge__kav',
actionName: 'view'
}
});
}
}
handleNavigateToRecord() {
this[NavigationMixin.Navigate]({
type: 'standard__recordPage',
attributes: {
recordId: this.brokerId,
objectApiName: 'Property__c',
actionName: 'view'
}
});
}
}
handleNavigateToRecord() {
this[NavigationMixin.Navigate]({
type: 'standard__recordPage',
attributes: {
recordId: this.recordId,
objectApiName: 'Property__c',
actionName: 'view'
}
});
}
}