Skip to content

Commit

Permalink
feat: fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MAudelGisaia committed Jan 6, 2025
1 parent e1bd6a4 commit fe63f50
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 48 deletions.
6 changes: 3 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ import { ActionMenuComponent } from '@components/action-menu/action-menu.compone
ArlasMapComponent,
ArlasListComponent,
GetResultlistConfigPipe,
ArlasAnalyticsComponent
ArlasAnalyticsComponent,
ActionMenuComponent
],
exports: [
AoiDimensionComponent,
Expand Down Expand Up @@ -175,8 +176,7 @@ import { ActionMenuComponent } from '@components/action-menu/action-menu.compone
ArlasTaggerModule,
LoginModule,
LazyLoadImageModule,
GetValueModule,
ActionMenuComponent
GetValueModule
],
providers: [
VisualizeService,
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/action-menu/action-menu.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<arlas-share #share [icon]="'share'" [hidden]="true"></arlas-share>

<arlas-download #download [collections]="collections" [hidden]="true"></arlas-download>
<arlas-download #download [collections]="collections()" [hidden]="true"></arlas-download>

<arlas-bookmark-menu #bookmarkMenu></arlas-bookmark-menu>

Expand Down
23 changes: 0 additions & 23 deletions src/app/components/action-menu/action-menu.component.spec.ts

This file was deleted.

22 changes: 1 addition & 21 deletions src/app/components/action-menu/action-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,40 +19,20 @@


import { Component, inject, input, OnInit, ViewChild } from '@angular/core';
import { MatIcon } from '@angular/material/icon';
import { MatIconButton } from '@angular/material/button';
import { MatMenu, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
import { NgIf } from '@angular/common';
import { TranslateModule, TranslateService } from '@ngx-translate/core';
import { TranslateService } from '@ngx-translate/core';
import {
AboutComponent,
ArlasConfigService,
ArlasStartupService,
ArlasTaggerModule,
ArlasToolkitSharedModule,
ArlasWalkthroughService,
DownloadComponent,
ShareComponent,
TagComponent
} from 'arlas-wui-toolkit';
import { MapService } from '@services/map.service';
import { MatTooltip } from '@angular/material/tooltip';

@Component({
selector: 'arlas-action-menu',
standalone: true,
imports: [
MatIcon,
MatIconButton,
MatMenu,
MatMenuItem,
NgIf,
TranslateModule,
MatMenuTrigger,
ArlasToolkitSharedModule,
ArlasTaggerModule,
MatTooltip
],
templateUrl: './action-menu.component.html',
styleUrl: './action-menu.component.scss'
})
Expand Down

0 comments on commit fe63f50

Please sign in to comment.