mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
various code quality fixes (#5792)
* various code quality fixes * reduce duplicated code * add safety check
This commit is contained in:
@@ -394,7 +394,7 @@ To develop the enhancement, edit the `src/app/mydatatable/mydatatable.component.
|
||||
```ts
|
||||
onExecuteRowAction(event: DataRowActionEvent) {
|
||||
|
||||
if (event.value.action.title = "Greetings") {
|
||||
if (event.value.action.title === "Greetings") {
|
||||
|
||||
this.apiService.getInstance().webScript.executeWebScript(
|
||||
'GET',
|
||||
|
Reference in New Issue
Block a user