mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
support changing primary category for transaction category
This commit is contained in:
+2
-1
@@ -436,10 +436,11 @@ export default {
|
||||
categories
|
||||
});
|
||||
},
|
||||
modifyTransactionCategory: ({ id, name, icon, color, comment, hidden }) => {
|
||||
modifyTransactionCategory: ({ id, name, parentId, icon, color, comment, hidden }) => {
|
||||
return axios.post('v1/transaction/categories/modify.json', {
|
||||
id,
|
||||
name,
|
||||
parentId,
|
||||
icon,
|
||||
color,
|
||||
comment,
|
||||
|
||||
Reference in New Issue
Block a user