fix status pinning
This commit is contained in:
parent
4e130375a7
commit
bcea217705
1 changed files with 2 additions and 2 deletions
|
@ -112,9 +112,9 @@ export const BUTTONS = [{
|
||||||
},
|
},
|
||||||
action ({ status, dispatch }) {
|
action ({ status, dispatch }) {
|
||||||
if (status.pinned) {
|
if (status.pinned) {
|
||||||
return dispatch('unpinStatus', { id: status.id })
|
return dispatch('unpinStatus', status.id)
|
||||||
} else {
|
} else {
|
||||||
return dispatch('pinStatus', { id: status.id })
|
return dispatch('pinStatus', status.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue