mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
reduce duplication and code improvements (#1707)
* reduce code duplication * reduce duplication, fix license headers * simplify code * typings fixes * update tests * minor fixes * markdown fixes * revert changes
This commit is contained in:
@@ -65,11 +65,11 @@ export class AosEditOnlineService {
|
||||
}
|
||||
|
||||
private isWindows(): boolean {
|
||||
return this.getUserAgent().indexOf('win') !== -1 ? true : false;
|
||||
return this.getUserAgent().indexOf('win') !== -1;
|
||||
}
|
||||
|
||||
private isMacOs(): boolean {
|
||||
return this.getUserAgent().indexOf('mac') !== -1 ? true : false;
|
||||
return this.getUserAgent().indexOf('mac') !== -1;
|
||||
}
|
||||
|
||||
private onAlreadyLockedNotification(nodeId: string, lockOwner: string) {
|
||||
|
Reference in New Issue
Block a user