Skip to content

Commit f95dcc9

Browse files
authored
Fix session favorites management in index.js
1 parent 2b71455 commit f95dcc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ function getAppHTML(app, appInstalled, forInterface) {
568568
if(favsThisSession){
569569
if(info.favourites!=favsThisSession.favs){
570570
//database has been updated, remove app from favsThisSession
571-
SETTINGS.appsFavoritedInSession = SETTINGS.appsFavoritedInSession.filter(obj => obj.id !== app.id);
571+
SETTINGS.appsFavoritedThisSession = SETTINGS.appsFavoritedThisSession.filter(obj => obj.id !== app.id);
572572
}
573573
else{
574574
appFavourites += 1; //add one to give the illusion of immediate database changes

0 commit comments

Comments
 (0)