Fix typo: non-existant -> non-existent in tree row error messages

This commit is contained in:
kawin-j 2026-08-31 22:03:09 +07:00
parent bccaf46ff2
commit 4662842bf8
2 changed files with 2 additions and 2 deletions

View file

@ -1272,7 +1272,7 @@ class CollectionViewItemTree extends ItemTree {
_getRowData(index) {
var treeRow = this.getRow(index);
if (!treeRow) {
throw new Error(`Attempting to get row data for a non-existant tree row ${index}`);
throw new Error(`Attempting to get row data for a non-existent tree row ${index}`);
}
let itemID = treeRow.id;

View file

@ -2361,7 +2361,7 @@ var ItemTree = class ItemTree extends LibraryTree {
_getRowData(index) {
var treeRow = this.getRow(index);
if (!treeRow) {
throw new Error(`Attempting to get row data for a non-existant tree row ${index}`);
throw new Error(`Attempting to get row data for a non-existent tree row ${index}`);
}
var itemID = treeRow.id;