Skip to content

Commit

Permalink
Merge pull request #800 from lmcapacho/develop
Browse files Browse the repository at this point in the history
Add 'recentProjects' to profile data
  • Loading branch information
cavearr authored Jan 13, 2025
2 parents 184cb84 + 06d497f commit b3cd45f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ angular
$scope.workingdir = "";
$scope.snapshotdir = "";

$scope.recentProjects = profile.get('recentProjects') || [];
$scope.recentProjects = $scope.profile.get('recentProjects');

let zeroProject = true; // New project without changes
let resultAlert = null;
Expand Down
3 changes: 2 additions & 1 deletion app/scripts/services/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ angular.module('icestudio')
'loggingEnabled': false,
'loggingFile':'',
'displayVersionInfoWindow': 'yes',
'pythonEnv':{'python':'','pip':''}
'pythonEnv':{'python':'','pip':''},
'recentProjects': [],
};

//-- Property added to the MACs
Expand Down

0 comments on commit b3cd45f

Please sign in to comment.