Fix wrong aria-disabled on context/non-context item rows

Regression from #2263
This commit is contained in:
Dan Stillman 2021-12-15 22:05:28 -05:00
parent 44b6cd0525
commit 88c3e6ca00

View file

@ -2753,7 +2753,7 @@ var ItemTree = class ItemTree extends LibraryTree {
if (!this.isContainerEmpty(index)) {
div.setAttribute('aria-expanded', this.isContainerOpen(index));
}
if (!rowData.contextRow) {
if (rowData.contextRow) {
div.setAttribute('aria-disabled', true);
}