mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
amend implicit returns
This commit is contained in:
@@ -100,10 +100,12 @@ export class Viewer extends Component {
|
||||
return await browser.isElementPresent(this.viewerExtensionContent);
|
||||
}
|
||||
|
||||
async getComponentIdOfView() {
|
||||
async getComponentIdOfView(): Promise<string|null> {
|
||||
if (await this.isCustomContentPresent()) {
|
||||
return await this.viewerExtensionContent.getAttribute('data-automation-id');
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
async isPdfViewerContentDisplayed() {
|
||||
|
Reference in New Issue
Block a user