fix context problems
This commit is contained in:
@ -19,12 +19,6 @@ export class CreatePostComponent {
|
||||
content: '',
|
||||
});
|
||||
|
||||
constructor() {
|
||||
setTimeout(() => {
|
||||
this.post.set({ ...this.post(), title: 'adf' });
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
publish() {
|
||||
this.postsService.createPost(this.post());
|
||||
this.location.back();
|
||||
|
Reference in New Issue
Block a user