added list editor component #46

This commit is contained in:
Nicolas Constant 2019-05-19 20:07:28 -04:00
parent 2fd7beb0fb
commit 274bd951f5
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
5 changed files with 46 additions and 1 deletions

View File

@ -58,6 +58,7 @@ import { NotificationsComponent } from './components/floating-column/manage-acco
import { SettingsState } from './states/settings.state';
import { AccountEmojiPipe } from './pipes/account-emoji.pipe';
import { CardComponent } from './components/stream/status/card/card.component';
import { ListEditorComponent } from './components/floating-column/manage-account/my-account/list-editor/list-editor.component';
const routes: Routes = [
{ path: "", redirectTo: "home", pathMatch: "full" },
@ -104,7 +105,8 @@ const routes: Routes = [
MentionsComponent,
NotificationsComponent,
AccountEmojiPipe,
CardComponent
CardComponent,
ListEditorComponent
],
imports: [
FontAwesomeModule,

View File

@ -0,0 +1,3 @@
<p>
list-editor works!
</p>

View File

@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ListEditorComponent } from './list-editor.component';
xdescribe('ListEditorComponent', () => {
let component: ListEditorComponent;
let fixture: ComponentFixture<ListEditorComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ListEditorComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ListEditorComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-list-editor',
templateUrl: './list-editor.component.html',
styleUrls: ['./list-editor.component.scss']
})
export class ListEditorComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}