Fixes issue where no timeline message wasn't shown

This commit is contained in:
Eric Amodio 2020-02-24 18:35:58 -05:00
parent b78a012ae3
commit 2c9ce783fb

View file

@ -390,6 +390,11 @@ export class TimelinePane extends ViewPane {
}
if (!changed) {
// If there are no items at all and no pending requests, make sure to refresh (to show the no timeline info message)
if (this._items.length === 0 && this._pendingRequests.size === 0) {
this.refresh();
}
return;
}