I am trying to develop a dashboard application and I found the dashboard will be closed together with the card view.

Do you have any idea? I am using Ares.

<In app-assistants.jsjsjs&$gt$;

AppAssistant.prototype.handleLaunch = function(params) {
if (params && params.action) {
switch (params.action) {
default:
this.launch();
break;
}
} else {
this.launch();
}
};

AppAssistant.prototype.launch = function() {
var stageName = "desktop";
var dashStage = Mojo.Controller.appController.getStageProxy(stageName);

if (dashStage) {
dashStage.activate();
} else {
var f = function(stageController) {
stageController.pushScene('main');
}.bind(this);
this.controller.createStageWithCallback({name: stageName, lightweight: true}, f, 'dashboard');
}
};

--------------------------
<In main-assistant.jsjsjs&$gt$;

cleanup: function() {
},
deactivate = function() {
},