Skip to content

Commit

Permalink
Fixed bug where new user message doesnt come up
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxUSA committed Feb 12, 2017
1 parent 067e4a8 commit 3c17b8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenNote/openNote/controllers/folderController.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,8 @@ openNote.controller("folderController", function( $scope,
$scope.currentFolderContents=results.rows;

//Do they have anything to display?
if(!$scope.currentFolder._id && !$scope.currentFolderContents){
if(!$scope.currentFolder._id && !$scope.currentFolderContents.length)
alertify.alert("It looks like you dont have any folders. You can create one using the \"New Folder\" button in the top right of the page. If you need to pull your remote notes <a href='#/settings/database'>click here</a>.");
}

$scope.$apply();
});
Expand Down

0 comments on commit 3c17b8b

Please sign in to comment.