mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[link-adf:dev-dbastos-AAE-10768] Fix BC: rename adf-comments to adf-node-comments
This commit is contained in:
@@ -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]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -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()
|
||||||
|
Reference in New Issue
Block a user