[link-adf:dev-dbastos-AAE-10768] Fix BC: rename adf-comments to adf-node-comments

This commit is contained in:
Amedeo Lepore
2022-12-19 15:08:16 +01:00
parent c6844955e2
commit 2810bca153
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AppTestingModule } from '../../../testing/app-testing.module'; import { AppTestingModule } from '../../../testing/app-testing.module';
import { NodePermissionService } from '@alfresco/aca-shared'; import { NodePermissionService } from '@alfresco/aca-shared';
import { Node } from '@alfresco/js-api'; import { Node } from '@alfresco/js-api';
import { CommentsModule } from '@alfresco/adf-core'; import { NodeCommentsModule } from '@alfresco/adf-content-services';
describe('CommentsTabComponent', () => { describe('CommentsTabComponent', () => {
let component: CommentsTabComponent; let component: CommentsTabComponent;
@@ -38,7 +38,7 @@ describe('CommentsTabComponent', () => {
beforeEach(() => { beforeEach(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
imports: [AppTestingModule, CommentsModule], imports: [AppTestingModule, NodeCommentsModule],
declarations: [CommentsTabComponent] declarations: [CommentsTabComponent]
}); });

View File

@@ -29,7 +29,7 @@ import { NodePermissionService, isLocked } from '@alfresco/aca-shared';
@Component({ @Component({
selector: 'app-comments-tab', selector: 'app-comments-tab',
template: `<mat-card><adf-comments [readOnly]="!canUpdateNode" [nodeId]="node?.id"></adf-comments></mat-card>` template: `<mat-card><adf-node-comments [readOnly]="!canUpdateNode" [nodeId]="node?.id"></adf-node-comments></mat-card>`
}) })
export class CommentsTabComponent { export class CommentsTabComponent {
@Input() @Input()