Skip to content

Commit 84dc9d7

Browse files
fix: make created app persistent after page reload
1 parent 1997759 commit 84dc9d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/express/public/core/app-management/javascripts/countly.views.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@
394394
});
395395
self.$store.dispatch("countlyCommon/addToAllApps", data);
396396
self.$store.dispatch("countlyCommon/updateActiveApp", data._id + "");
397+
countlyCommon.setActiveApp(data._id);
397398
if (self.firstApp) {
398399
countlyCommon.ACTIVE_APP_ID = data._id + "";
399400
app.onAppManagementSwitch(data._id + "", data && data.type || "mobile");
@@ -892,4 +893,4 @@
892893
return countlyGlobal.timezones;
893894
}
894895
};
895-
})();
896+
})();

0 commit comments

Comments
 (0)