File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1525,9 +1525,8 @@ export class ProjectActions extends Actions<ProjectStoreState> {
1525
1525
const computeServerAssociations =
1526
1526
webapp_client . project_client . computeServers ( this . project_id ) ;
1527
1527
const sidePath = chatFile ( path ) ;
1528
- const currentId = await computeServerAssociations . getServerIdForPath (
1529
- sidePath ,
1530
- ) ;
1528
+ const currentId =
1529
+ await computeServerAssociations . getServerIdForPath ( sidePath ) ;
1531
1530
if ( currentId != null ) {
1532
1531
// already set
1533
1532
return ;
@@ -2311,8 +2310,8 @@ export class ProjectActions extends Actions<ProjectStoreState> {
2311
2310
dest_compute_server_id : opts . dest_compute_server_id ,
2312
2311
}
2313
2312
: opts . src_compute_server_id
2314
- ? { compute_server_id : opts . src_compute_server_id }
2315
- : undefined ) ,
2313
+ ? { compute_server_id : opts . src_compute_server_id }
2314
+ : undefined ) ,
2316
2315
} ) ;
2317
2316
2318
2317
if ( opts . only_contents ) {
@@ -2837,6 +2836,9 @@ export class ProjectActions extends Actions<ProjectStoreState> {
2837
2836
return ;
2838
2837
}
2839
2838
this . log ( { event : "file_action" , action : "created" , files : [ p ] } ) ;
2839
+ if ( ext ) {
2840
+ redux . getActions ( "account" ) ?. addTag ( `create-${ ext } ` ) ;
2841
+ }
2840
2842
if ( opts . switch_over ) {
2841
2843
this . open_file ( {
2842
2844
path : p ,
You can’t perform that action at this time.
0 commit comments