mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 07:27:33 +08:00
fix cannot create transaction tag in transaction edit dialog
This commit is contained in:
@@ -38,8 +38,8 @@ export class TransactionTag implements TransactionTagInfoResponse {
|
||||
return tags;
|
||||
}
|
||||
|
||||
public static createNewTag(): TransactionTag {
|
||||
return new TransactionTag('', '', 0, false);
|
||||
public static createNewTag(name?: string): TransactionTag {
|
||||
return new TransactionTag('', name || '', 0, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user