#468 - clean up
This commit is contained in:
parent
5ab0e71500
commit
e6268c492e
2 changed files with 9 additions and 15 deletions
|
@ -362,7 +362,9 @@ const Status = {
|
|||
this.$store.state.api.backendInteractor.pinOwnStatus(this.status.id).then((status) => {
|
||||
if (status.error) {
|
||||
this.error = status.error
|
||||
setTimeout(() => this.error = null, 5000)
|
||||
setTimeout(() => {
|
||||
this.error = null
|
||||
}, 5000)
|
||||
} else {
|
||||
this.$store.dispatch('updatePinned', status)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue