diff --git a/frontend/src/ketr-photos/ketr-photos.html b/frontend/src/ketr-photos/ketr-photos.html index 21b911b..44c3fb2 100755 --- a/frontend/src/ketr-photos/ketr-photos.html +++ b/frontend/src/ketr-photos/ketr-photos.html @@ -558,6 +558,7 @@ }, resetPhotos: function() { + this.albums = []; this.years = []; this.notifyPath("years.length"); this.pendingPhotos = []; @@ -581,6 +582,7 @@ console.log("Mode changed to " + mode); this.path = ""; this.resetPhotos(); + this._loadAlbums(); this._loadPhotos(); }, @@ -1146,6 +1148,7 @@ userChanged: function(user) { this.resetPhotos(); + this.path = ""; if (user) { this.mode = "memories"; this._loadAlbums();