mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ACS-8251: migrate Extensions library to Standalone (#9842)
This commit is contained in:
@@ -24,15 +24,15 @@ import { AllowableOperationsEnum } from '../common/models/allowable-operations.e
|
||||
import { ContentNodeDialogService } from '../content-node-selector/content-node-dialog.service';
|
||||
|
||||
@Directive({
|
||||
standalone: true,
|
||||
selector: '[adf-node-lock]'
|
||||
})
|
||||
export class NodeLockDirective implements AfterViewInit {
|
||||
|
||||
/** Node to lock/unlock. */
|
||||
@Input('adf-node-lock')
|
||||
node: Node;
|
||||
|
||||
@HostListener('click', [ '$event' ])
|
||||
@HostListener('click', ['$event'])
|
||||
onClick(event) {
|
||||
event.stopPropagation();
|
||||
this.contentNodeDialogService.openLockNodeDialog(this.node);
|
||||
|
Reference in New Issue
Block a user