Skip to content
Snippets Groups Projects
Commit bca7378f authored by rhenck's avatar rhenck
Browse files

[editor] Fix ignore-counter icon

parent 4c688856
No related branches found
No related tags found
No related merge requests found
...@@ -27,13 +27,9 @@ export class AppComponent implements OnInit { ...@@ -27,13 +27,9 @@ export class AppComponent implements OnInit {
constructor(private unitService: UnitService, constructor(private unitService: UnitService,
private translateService: TranslateService, private translateService: TranslateService,
private veronaApiService: VeronaAPIService, private veronaApiService: VeronaAPIService) {
private matIconRegistry: MatIconRegistry,
private domSanitizer: DomSanitizer) {
translateService.addLangs(['de']); translateService.addLangs(['de']);
translateService.setDefaultLang('de'); translateService.setDefaultLang('de');
this.matIconRegistry.addSvgIcon('playlist_remove',
this.domSanitizer.bypassSecurityTrustResourceUrl('assets/playlist_remove.svg'));
} }
ngOnInit(): void { ngOnInit(): void {
......
...@@ -48,7 +48,9 @@ import { SectionService } from 'editor/src/app/services/unit-services/section.se ...@@ -48,7 +48,9 @@ import { SectionService } from 'editor/src/app/services/unit-services/section.se
<button mat-mini-fab [color]="section.ignoreNumbering ? 'primary' : 'accent'" <button mat-mini-fab [color]="section.ignoreNumbering ? 'primary' : 'accent'"
(click)="ignoreNumbering()" (click)="ignoreNumbering()"
[matTooltip]="'Von der Nummerierung ausnehmen'" [matTooltipPosition]="'left'"> [matTooltip]="'Von der Nummerierung ausnehmen'" [matTooltipPosition]="'left'">
<mat-icon>playlist_remove</mat-icon> <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="white">
<path d="m576-80-56-56 104-104-104-104 56-56 104 104 104-104 56 56-104 104 104 104-56 56-104-104L576-80ZM120-320v-80h280v80H120Zm0-160v-80h440v80H120Zm0-160v-80h440v80H120Z"/>
</svg>
</button> </button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment