Removed the redundant "entryType" parameter from the static "start" method of JavaScript AccountSelector.
This commit is contained in:
@ -234,9 +234,8 @@ class AccountSelector {
|
||||
* Starts the account selector.
|
||||
*
|
||||
* @param entryEditor {JournalEntryEditor} the journal entry editor
|
||||
* @param entryType {string} the entry type, either "debit" or "credit"
|
||||
*/
|
||||
static start(entryEditor, entryType) {
|
||||
this.#selectors[entryType].#onOpen(entryEditor);
|
||||
static start(entryEditor) {
|
||||
this.#selectors[entryEditor.entryType].#onOpen(entryEditor);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user