Skip to content

Commit c8c6c53

Browse files
authored
Merge pull request #695 from Cookiezaurs/next
[SERVER-1058] bugfix - load configuration on new app(on new server) creation
2 parents 1c461c7 + 5671a98 commit c8c6c53

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

frontend/express/public/javascripts/countly/countly.views.js

+9
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,15 @@ window.ManageAppsView = countlyView.extend({
11381138
else {
11391139
hideAdd();
11401140

1141+
if (self.appManagementViews.length === 0) {
1142+
Object.keys(app.appManagementViews).forEach(function(plugin) {
1143+
var Clas = app.appManagementViews[plugin].view,
1144+
view = new Clas();
1145+
view.setAppId(countlyCommon.ACTIVE_APP_ID);
1146+
self.appManagementViews.push(view);
1147+
});
1148+
}
1149+
11411150
if (countlyGlobal.admin_apps[app_id]) {
11421151
$("#delete-app").show();
11431152
}

0 commit comments

Comments
 (0)