Skip to content

Commit

Permalink
change mat-icon following rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Oct 25, 2024
1 parent fe88850 commit 633452d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import { MatMenuModule, MatMenuTrigger } from '@angular/material/menu'
import { ConfirmationDialogComponent } from '@geonetwork-ui/ui/elements'
import { ButtonComponent } from '@geonetwork-ui/ui/inputs'
import { TranslateModule } from '@ngx-translate/core'
import { NgIconComponent, provideIcons } from '@ng-icons/core'
import { matMoreVert } from '@ng-icons/material-icons/baseline'

type ActionMenuPage = 'mainMenu' | 'deleteMenu'

Expand All @@ -29,9 +27,7 @@ type ActionMenuPage = 'mainMenu' | 'deleteMenu'
MatDialogModule,
ConfirmationDialogComponent,
TranslateModule,
NgIconComponent,
],
providers: [provideIcons({ matMoreVert })],
})
export class ActionMenuComponent {
@Input() canDuplicate: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
type="light"
data-test="record-menu-button"
>
<mat-icon class="material-symbols-outlined">more_vert</mat-icon>
<ng-icon name="matMoreVert"></ng-icon>
</gn-ui-button>
<ng-template #template>
<gn-ui-action-menu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
OverlayRef,
} from '@angular/cdk/overlay'
import { TemplatePortal } from '@angular/cdk/portal'
import { matMoreVert } from '@ng-icons/material-icons/baseline'

@Component({
selector: 'gn-ui-results-table',
Expand All @@ -55,7 +56,7 @@ import { TemplatePortal } from '@angular/cdk/portal'
CdkOverlayOrigin,
CdkConnectedOverlay,
],
providers: [provideIcons({ iconoirUser })],
providers: [provideIcons({ iconoirUser, matMoreVert })],
})
export class ResultsTableComponent {
@Input() records: CatalogRecord[] = []
Expand Down

0 comments on commit 633452d

Please sign in to comment.