Skip to content

Commit 2439414

Browse files
authored
1 parent ea6cfdd commit 2439414

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vs/workbench/contrib/timeline/browser/timelinePane.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,9 @@ export class TimelinePane extends ViewPane {
285285
// Update the storage service with the setting
286286
storageService.store('timeline.excludeSources', oldSettingString, StorageScope.PROFILE, StorageTarget.USER);
287287
}
288-
this.excludedSources = new Set(JSON.parse(storageService.get('timeline.excludeSources', StorageScope.PROFILE, '[]')));
288+
const excludedSourcesString = storageService.get('timeline.excludeSources', StorageScope.PROFILE, '[]');
289+
this.timelineExcludeSourcesContext.set(excludedSourcesString);
290+
this.excludedSources = new Set(JSON.parse(excludedSourcesString));
289291

290292
this._register(storageService.onDidChangeValue(this.onStorageServiceChanged, this));
291293
this._register(configurationService.onDidChangeConfiguration(this.onConfigurationChanged, this));

0 commit comments

Comments
 (0)