fix: update cache + timeline when items are updated/deleted (#556)
This commit is contained in:
parent
720b5114af
commit
dc76ab2477
5 changed files with 28 additions and 15 deletions
|
@ -79,9 +79,6 @@ export function getAccountRoute(account: Account) {
|
|||
server: currentServer.value,
|
||||
account: extractAccountHandle(account),
|
||||
},
|
||||
state: {
|
||||
account: account as any,
|
||||
},
|
||||
})
|
||||
}
|
||||
export function getAccountFollowingRoute(account: Account) {
|
||||
|
@ -91,9 +88,6 @@ export function getAccountFollowingRoute(account: Account) {
|
|||
server: currentServer.value,
|
||||
account: extractAccountHandle(account),
|
||||
},
|
||||
state: {
|
||||
account: account as any,
|
||||
},
|
||||
})
|
||||
}
|
||||
export function getAccountFollowersRoute(account: Account) {
|
||||
|
@ -103,9 +97,6 @@ export function getAccountFollowersRoute(account: Account) {
|
|||
server: currentServer.value,
|
||||
account: extractAccountHandle(account),
|
||||
},
|
||||
state: {
|
||||
account: account as any,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -117,9 +108,6 @@ export function getStatusRoute(status: Status) {
|
|||
account: extractAccountHandle(status.account),
|
||||
status: status.id,
|
||||
},
|
||||
state: {
|
||||
status: status as any,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue