Fix placeholder bug and improve code quality
This commit is contained in:
@@ -28,7 +28,8 @@ export class HelperService {
|
||||
return shares;
|
||||
}
|
||||
|
||||
formatKeywordsData(keywords: Keyword[]) {
|
||||
formatKeywordsData(): Keyword[] {
|
||||
var keywords: Keyword[] = [];
|
||||
this.botService.getKeywords().subscribe((result) => {
|
||||
var data = JSON.parse(result);
|
||||
for (let i = 0; i < data.data.length; i++) {
|
||||
|
Reference in New Issue
Block a user