diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index 6bc0bea..6bd4ae6 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ diff --git a/src/app/boards/boards.component.ts b/src/app/boards/boards.component.ts index e1d4df7..1a0fef8 100644 --- a/src/app/boards/boards.component.ts +++ b/src/app/boards/boards.component.ts @@ -11,7 +11,7 @@ import { SinglePost } from '../models/post' export class BoardsComponent implements OnInit { command: string = ""; response: any; - postsToShow: SinglePost[] = [] //products: Iproduct[] = data + postsToShow: SinglePost[] = [] constructor(public apiChatService: ApiChatService) { diff --git a/src/app/send-post/send-post.component.html b/src/app/send-post/send-post.component.html index 6908954..7ec9cbb 100644 --- a/src/app/send-post/send-post.component.html +++ b/src/app/send-post/send-post.component.html @@ -2,10 +2,10 @@

Поведай миру что-нибудь хорошее.

- +

Загрузить картинку:

-

Картинка в статике: {{filename}}

+

Картинка: {{filename}}

diff --git a/src/app/send-post/send-post.component.ts b/src/app/send-post/send-post.component.ts index 083ede4..71b7d48 100644 --- a/src/app/send-post/send-post.component.ts +++ b/src/app/send-post/send-post.component.ts @@ -23,6 +23,9 @@ export class SendPostComponent implements OnInit { sendPost(text: string) { this.apiChatService.sendPostToApi(text, this.filename).subscribe(); + this.message = '0'; + this.filename = '0'; + alert("Сообщение отправлено."); } sendPic(event: any) {