Fix same key bug
This commit is contained in:
parent
05ab42684b
commit
7f327e5980
1 changed files with 1 additions and 1 deletions
|
@ -159,8 +159,8 @@ function AccountStatuses() {
|
||||||
.next();
|
.next();
|
||||||
if (pinnedStatuses?.length && !tagged && !media) {
|
if (pinnedStatuses?.length && !tagged && !media) {
|
||||||
pinnedStatuses.forEach((status) => {
|
pinnedStatuses.forEach((status) => {
|
||||||
status._pinned = true;
|
|
||||||
saveStatus(status, instance);
|
saveStatus(status, instance);
|
||||||
|
status._pinned = true;
|
||||||
});
|
});
|
||||||
if (pinnedStatuses.length >= 3) {
|
if (pinnedStatuses.length >= 3) {
|
||||||
const pinnedStatusesIds = pinnedStatuses.map((status) => status.id);
|
const pinnedStatusesIds = pinnedStatuses.map((status) => status.id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue