File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -638,7 +638,15 @@ class SessionsPage extends LitElement {
638638 const row = this . result ?. sessions . find ( ( session ) => session . key === sessionKey ) ;
639639 const hasCheckpoints =
640640 ( row ?. compactionCheckpointCount ?? 0 ) > 0 || Boolean ( row ?. latestCompactionCheckpoint ) ;
641- if ( ! hasCheckpoints || this . checkpointItemsByKey [ sessionKey ] ) {
641+ if ( ! hasCheckpoints ) {
642+ // Seed an empty cache entry so reconcileCheckpointCache sees this key
643+ // and reloads the open drawer if the session compacts on a refresh.
644+ if ( ! this . checkpointItemsByKey [ sessionKey ] ) {
645+ this . checkpointItemsByKey = { ...this . checkpointItemsByKey , [ sessionKey ] : [ ] } ;
646+ }
647+ return ;
648+ }
649+ if ( this . checkpointItemsByKey [ sessionKey ] ) {
642650 return ;
643651 }
644652 await this . loadCheckpoint ( sessionKey ) ;
You can’t perform that action at this time.
0 commit comments