|
@@ -5018,9 +5018,11 @@ $(document).ready(function () {
|
|
|
|
|
|
|
|
huePubSub.subscribe('app.dom.unload', function (app) {
|
|
huePubSub.subscribe('app.dom.unload', function (app) {
|
|
|
if (app === 'dashboard') {
|
|
if (app === 'dashboard') {
|
|
|
|
|
+ %if is_report:
|
|
|
if (ApiHelper.getInstance().getFromTotalStorage('assist', 'right_assist_panel_visible', false)) {
|
|
if (ApiHelper.getInstance().getFromTotalStorage('assist', 'right_assist_panel_visible', false)) {
|
|
|
huePubSub.publish('right.assist.show');
|
|
huePubSub.publish('right.assist.show');
|
|
|
}
|
|
}
|
|
|
|
|
+ %endif
|
|
|
$gridster.destroy();
|
|
$gridster.destroy();
|
|
|
}
|
|
}
|
|
|
}, 'dashboard');
|
|
}, 'dashboard');
|