Skip to content

Commit

Permalink
refactor(*): move from svg to library icons
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord committed May 29, 2024
1 parent 87f9b8c commit 0be295d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/portal/portal.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
(click)="zoomToSelectedFeatureWks()"
>
@if ((workspaceState.workspaceSelection$ | async).length > 1) {
<igo-icon [icon]="magnifyIcon"></igo-icon>
<mat-icon>frame_inspect</mat-icon>
} @else {
<mat-icon>zoom_in </mat-icon>
}
Expand Down
10 changes: 1 addition & 9 deletions src/app/pages/portal/portal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ import {
EntityStore,
EntityTablePaginatorOptions
} from '@igo2/common/entity';
import {
IconSvg,
IgoIconComponent,
MAGNIFY_SCAN_ICON
} from '@igo2/common/icon';
import { Tool, Toolbox } from '@igo2/common/tool';
import { Widget } from '@igo2/common/widget';
import {
Expand Down Expand Up @@ -201,8 +196,7 @@ import { WelcomeWindowService } from './welcome-window/welcome-window.service';
TranslateModule,
UserButtonComponent,
WORKSPACE_DIRECTIVES,
WorkspaceUpdatorDirective,
IgoIconComponent
WorkspaceUpdatorDirective
],
providers: [
provideSearch([
Expand Down Expand Up @@ -277,8 +271,6 @@ export class PortalComponent implements OnInit, OnDestroy {
public homeZoom: number;
isTouchScreen: boolean;

magnifyIcon: IconSvg = MAGNIFY_SCAN_ICON;

@ViewChild('mapBrowser', { read: ElementRef, static: true })
mapBrowser: ElementRef;
@ViewChild('searchBar', { read: ElementRef, static: true })
Expand Down

0 comments on commit 0be295d

Please sign in to comment.