Skip to content
Snippets Groups Projects
Commit cc95b5f3 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Create new component for comment deletion dialog

parent f48b5d48
No related merge requests found
<p>
delete-comment works!
</p>
/*
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { DeleteCommentComponent } from './delete-comment.component';
describe('DeleteCommentComponent', () => {
let component: DeleteCommentComponent;
let fixture: ComponentFixture<DeleteCommentComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ DeleteCommentComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DeleteCommentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-delete-comment',
templateUrl: './delete-comment.component.html',
styleUrls: ['./delete-comment.component.scss']
})
export class DeleteCommentComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
......@@ -24,6 +24,7 @@ import { StatisticHelpComponent } from './_dialogs/statistic-help/statistic-help
import { CommentComponent } from './comment/comment.component';
import { CreateCommentComponent } from './_dialogs/create-comment/create-comment.component';
import { PresentCommentComponent } from './_dialogs/present-comment/present-comment.component';
import { DeleteCommentComponent } from './_dialogs/delete-comment/delete-comment.component';
@NgModule({
imports: [
......@@ -54,7 +55,8 @@ import { PresentCommentComponent } from './_dialogs/present-comment/present-comm
StatisticHelpComponent,
CommentComponent,
CreateCommentComponent,
PresentCommentComponent
PresentCommentComponent,
DeleteCommentComponent
],
exports: [
RoomJoinComponent,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment