<NME> toolbar.component.ts
<BEF> import {Component, Input} from '@angular/core'
import {MatDialog} from '@angular/material'
import {MapCacheService} from '../../../../core/services/map-cache/map-cache.service'
import {NotificationService} from '../../../../core/services/notification/notification.service'
import {Router} from '@angular/router'
import {MmpService} from '../../../../core/services/mmp/mmp.service'
import {UtilsService} from '../../../../core/services/utils/utils.service'
import {CachedMapsComponent} from '../cached-maps/cached-maps.component'
    templateUrl: './toolbar.component.html',
    styleUrls: ['./toolbar.component.scss']
})
export class ToolbarComponent {

    @Input() public node: any

    constructor (public mapCacheService: MapCacheService,
    @Input() public node: any

    constructor (public mapCacheService: MapCacheService,
                 private matDialog: MatDialog,
                 private notificationService: NotificationService,
                 private router: Router,
                 private mmpService: MmpService) {
    }

    public async openCachedMaps () {
        this.mmpService.exportMap(format)
    }

    public toggleFullScreen () {
        UtilsService.toggleFullScreen()
    }

    public toogleNodeFontStyle () {
        const currentStyle = this.mmpService.selectNode().font.style

        if (currentStyle === 'italic') {
            this.mmpService.updateNode('fontStyle', 'normal')
        } else {
            this.mmpService.updateNode('fontStyle', 'italic')
        }
    }

    public toogleNodeFontWeight () {
        const currentWeight = this.mmpService.selectNode().font.weight

        if (currentWeight === 'bold') {
            this.mmpService.updateNode('fontWeight', 'normal')
        } else {
            this.mmpService.updateNode('fontWeight', 'bold')
        }
    }

}

<MSG> [fix] set mmp service as public attribute

<DFF> @@ -2,7 +2,6 @@ import {Component, Input} from '@angular/core'
 import {MatDialog} from '@angular/material'
 import {MapCacheService} from '../../../../core/services/map-cache/map-cache.service'
 import {NotificationService} from '../../../../core/services/notification/notification.service'
-import {Router} from '@angular/router'
 import {MmpService} from '../../../../core/services/mmp/mmp.service'
 import {UtilsService} from '../../../../core/services/utils/utils.service'
 import {CachedMapsComponent} from '../cached-maps/cached-maps.component'
@@ -17,10 +16,9 @@ export class ToolbarComponent {
     @Input() public node: any
 
     constructor (public mapCacheService: MapCacheService,
+                 public mmpService: MmpService,
                  private matDialog: MatDialog,
-                 private notificationService: NotificationService,
-                 private router: Router,
-                 private mmpService: MmpService) {
+                 private notificationService: NotificationService) {
     }
 
     public async openCachedMaps () {

[fix] set mmp service as public attribute