mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
support hide/unhide account
This commit is contained in:
@@ -174,6 +174,12 @@ export default {
|
||||
subAccounts
|
||||
});
|
||||
},
|
||||
hideAccount: ({ id, hidden }) => {
|
||||
return axios.post('v1/accounts/hide.json', {
|
||||
id,
|
||||
hidden
|
||||
});
|
||||
},
|
||||
moveAccount: ({ newDisplayOrders }) => {
|
||||
return axios.post('v1/accounts/move.json', {
|
||||
newDisplayOrders,
|
||||
|
||||
Reference in New Issue
Block a user