better "no toot" message
This commit is contained in:
parent
5be372a3e9
commit
5c1617d673
|
@ -111,7 +111,7 @@
|
||||||
|
|
||||||
<div class="profile-statuses">
|
<div class="profile-statuses">
|
||||||
<div *ngIf="!isLoading && !statusLoading && statuses.length == 0" class="profile-no-toots">
|
<div *ngIf="!isLoading && !statusLoading && statuses.length == 0" class="profile-no-toots">
|
||||||
no toots found
|
no status found
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngFor="let statusWrapper of pinnedStatuses">
|
<div *ngFor="let statusWrapper of pinnedStatuses">
|
||||||
|
|
|
@ -281,7 +281,7 @@ $full-alias-color-hover: white;
|
||||||
&-no-toots {
|
&-no-toots {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
border: 2px solid whitesmoke;
|
// border: 2px solid whitesmoke;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -278,7 +278,7 @@ export class UserProfileComponent implements OnInit {
|
||||||
|
|
||||||
this.statusLoading = true;
|
this.statusLoading = true;
|
||||||
const userAccount = this.currentlyUsedAccount;
|
const userAccount = this.currentlyUsedAccount;
|
||||||
this.mastodonService.getAccountStatuses(userAccount, this.displayedAccount.id, false, false, true, this.maxId, null, 40)
|
this.mastodonService.getAccountStatuses(userAccount, this.displayedAccount.id, false, false, true, this.maxId, null, 20)
|
||||||
.then((statuses: Status[]) => {
|
.then((statuses: Status[]) => {
|
||||||
this.loadStatus(userAccount, statuses);
|
this.loadStatus(userAccount, statuses);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue