Avoid error if item is modified before collections pane is loaded

E.g., during Extra field migration at startup
This commit is contained in:
Dan Stillman 2024-07-21 05:57:17 -04:00
parent 9446f7f583
commit 3b1cb2b9c2

View file

@ -134,7 +134,7 @@
notify(action, type) {
if (type == 'item' && action == 'modify') {
if (this.collectionTreeRow.isFeedsOrFeed()) {
if (this.collectionTreeRow && this.collectionTreeRow.isFeedsOrFeed()) {
this.updateReadLabel();
}
}