Skip to content

Commit

Permalink
Fix parent toolbar/menubar displayed in dashlet
Browse files Browse the repository at this point in the history
Parent toolbar/menubar were displayed in dashlets in these cases:

- tree view (toolbar and menubar)
- grid view (menubar)

Fixes RM-33736
  • Loading branch information
pdo-axelor committed Jan 25, 2021
1 parent d49b35d commit 89487eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions axelor-web/src/main/webapp/js/view/view.dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ function DashletCtrl($scope, $element, MenuService, DataSource, ViewService) {

var self = this;
var init = _.once(function init() {
$scope.toolbar = null;
$scope.menubar = null;

ui.ViewCtrl.call(self, $scope, DataSource, ViewService);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Fix parent toolbar/menubar displayed in dashlet
type: fix

0 comments on commit 89487eb

Please sign in to comment.