mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Check for presence of the element before getText() in BreadcrumbPage PO. (#5776)
This commit is contained in:
parent
7b52da55cb
commit
8fb93fe1c0
@ -29,7 +29,7 @@ export class BreadcrumbPage {
|
||||
}
|
||||
|
||||
async getActiveBreadCrumbItemName(): Promise<string> {
|
||||
return this.currentItem.getText();
|
||||
return BrowserActions.getText(this.currentItem);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user