fixed bug double tweets on FE
This commit is contained in:
@@ -61,10 +61,10 @@ export class TweetsComponent implements OnInit {
|
||||
this._snackbarService.show('Keine weiteren Tweets vorhanden', 'Schließen');
|
||||
}
|
||||
|
||||
|
||||
for (const tweet of data) {
|
||||
const position = tweet.text.search(': http');
|
||||
tweet.text = tweet.text.substring(0, position);
|
||||
this.tweets.push(tweet);
|
||||
}
|
||||
},
|
||||
err => {
|
||||
|
||||
Reference in New Issue
Block a user