moved svg file to separate folder
@ -21,10 +21,10 @@ export class TopmenuComponent implements OnInit {
|
|||||||
public dialog: MatDialog,
|
public dialog: MatDialog,
|
||||||
private matIconRegistry: MatIconRegistry,
|
private matIconRegistry: MatIconRegistry,
|
||||||
private domSanitizer: DomSanitizer) {
|
private domSanitizer: DomSanitizer) {
|
||||||
this.matIconRegistry.addSvgIcon(`stroller`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/stroller.svg'));
|
this.matIconRegistry.addSvgIcon(`stroller`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/stroller.svg'));
|
||||||
this.matIconRegistry.addSvgIcon(`car-color`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/car-color.svg'));
|
this.matIconRegistry.addSvgIcon(`car-color`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/car-color.svg'));
|
||||||
this.matIconRegistry.addSvgIcon(`delivery-bike`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/deliverybike.svg'));
|
this.matIconRegistry.addSvgIcon(`delivery-bike`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/deliverybike.svg'));
|
||||||
this.matIconRegistry.addSvgIcon(`speed-car`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/speed-car.svg'));
|
this.matIconRegistry.addSvgIcon(`speed-car`, this.domSanitizer.bypassSecurityTrustResourceUrl('assets/svg/speed-car.svg'));
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |