Renamed the "content" dataset to "text" in the account selector of the journal entry form, for consistency.

This commit is contained in:
2023-03-22 23:55:28 +08:00
parent 7e1388735e
commit 907ce6d06e
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class AccountSelector {
};
this.#clearButton.onclick = () => this.#lineItemEditor.clearAccount();
for (const option of this.#options) {
option.onclick = () => this.#lineItemEditor.saveAccount(option.dataset.code, option.dataset.content, option.classList.contains("accounting-account-is-need-offset"));
option.onclick = () => this.#lineItemEditor.saveAccount(option.dataset.code, option.dataset.text, option.classList.contains("accounting-account-is-need-offset"));
}
this.#query.addEventListener("input", () => {
this.#filterOptions();