Update function name to be more descriptive

This commit is contained in:
Nicholas Wallace 2026-05-13 15:35:27 -07:00
parent 6a983a53b4
commit d67c1816dd
2 changed files with 2 additions and 2 deletions

View file

@ -259,7 +259,7 @@ class Database {
await this.rebuildComputedTableRows(this.authorModel, {
label: 'author',
attributes: ['id', 'name', 'lastFirst', 'searchName', 'libraryId'],
prepareRow: (author) => this.authorModel.isDerivedFieldChange(author)
prepareRow: (author) => this.authorModel.hasDerivedFieldChange(author)
})
}

View file

@ -66,7 +66,7 @@ class Author extends Model {
return this.normalizeSearchName(leftName) === this.normalizeSearchName(rightName)
}
static isDerivedFieldChange(author) {
static hasDerivedFieldChange(author) {
const derivedFields = this.buildAuthorDerivedFields(author.name)
let changed = false