Fix code style

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-03-22 09:52:38 +01:00
parent d46a7ffe69
commit 706a1b8e96
3 changed files with 5 additions and 7 deletions

View File

@@ -157,11 +157,9 @@ app.controller('BoardController', function ($rootScope, $scope, $element, $state
model: BoardService.getCurrent()
},
});
$scope.mountCollections = () => {
console.log('mountCollections');
$scope.mountCollections = function() {
const MountingPoint = document.getElementById('collaborationResources');
if (MountingPoint) {
console.log(MountingPoint);
ComponentVM.model = BoardService.getCurrent();
ComponentVM.$mount(MountingPoint);
}