File tree Expand file tree Collapse file tree 2 files changed +225
-79
lines changed
Expand file tree Collapse file tree 2 files changed +225
-79
lines changed Original file line number Diff line number Diff line change @@ -3051,6 +3051,9 @@ class CopilotTokenTracker implements vscode.Disposable {
30513051 case 'showDashboard' :
30523052 await this . showDashboard ( ) ;
30533053 break ;
3054+ case 'saveSortSettings' :
3055+ await this . context . globalState . update ( 'details.sortSettings' , message . settings ) ;
3056+ break ;
30543057 }
30553058 } ) ;
30563059
@@ -5224,9 +5227,14 @@ ${hashtag}`;
52245227 `script-src 'nonce-${ nonce } '` ,
52255228 ] . join ( "; " ) ;
52265229
5230+ const sortSettings = this . context . globalState . get ( 'details.sortSettings' , {
5231+ editor : { key : 'name' , dir : 'asc' } ,
5232+ model : { key : 'name' , dir : 'asc' } ,
5233+ } ) ;
52275234 const dataWithBackend = {
52285235 ...stats ,
52295236 backendConfigured : this . isBackendConfigured ( ) ,
5237+ sortSettings,
52305238 } ;
52315239 const initialData = JSON . stringify ( dataWithBackend ) . replace (
52325240 / < / g,
You can’t perform that action at this time.
0 commit comments