Skip to content

Commit

Permalink
fix modules?
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Nov 8, 2024
1 parent d4c0335 commit e697bb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/webapp/app/core/theme/theme-switch.component.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { ChangeDetectionStrategy, Component, OnInit, computed, inject, input, viewChild } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ArtemisSharedModule } from 'app/shared/shared.module';
import { TranslateModule } from '@ngx-translate/core';
import { NgbModule, NgbPopover } from '@ng-bootstrap/ng-bootstrap';
import { PlacementArray } from '@ng-bootstrap/ng-bootstrap/util/positioning';
import { Theme, ThemeService } from 'app/core/theme/theme.service';
import { fromEvent } from 'rxjs';
import { faSync } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { TranslateDirective } from 'app/shared/language/translate.directive';

/**
* Displays a sun or a moon in the navbar, depending on the current theme.
Expand All @@ -16,7 +18,7 @@ import { TranslateDirective } from 'app/shared/language/translate.directive';
selector: 'jhi-theme-switch',
templateUrl: './theme-switch.component.html',
styleUrls: ['theme-switch.component.scss'],
imports: [TranslateDirective, NgbModule, FontAwesomeModule],
imports: [TranslateModule, CommonModule, ArtemisSharedModule, NgbModule, FontAwesomeModule],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
})
Expand Down

0 comments on commit e697bb5

Please sign in to comment.