From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 11 Feb 2025 06:47:00 +0000 (-0800) Subject: Fix: add missing icon imports to inputs X-Git-Tag: v2.15.0-beta.rc1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea94626b82f575898fa2d476e43a58e6be16123b;p=thirdparty%2Fpaperless-ngx.git Fix: add missing icon imports to inputs --- diff --git a/src-ui/src/app/components/common/input/check/check.component.ts b/src-ui/src/app/components/common/input/check/check.component.ts index d7903b44b4..82e2667243 100644 --- a/src-ui/src/app/components/common/input/check/check.component.ts +++ b/src-ui/src/app/components/common/input/check/check.component.ts @@ -5,6 +5,7 @@ import { NG_VALUE_ACCESSOR, ReactiveFormsModule, } from '@angular/forms' +import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' import { AbstractInputComponent } from '../abstract-input' @Component({ @@ -18,7 +19,7 @@ import { AbstractInputComponent } from '../abstract-input' selector: 'pngx-input-check', templateUrl: './check.component.html', styleUrls: ['./check.component.scss'], - imports: [FormsModule, ReactiveFormsModule, NgClass], + imports: [FormsModule, ReactiveFormsModule, NgClass, NgxBootstrapIconsModule], }) export class CheckComponent extends AbstractInputComponent { constructor() { diff --git a/src-ui/src/app/components/common/input/monetary/monetary.component.ts b/src-ui/src/app/components/common/input/monetary/monetary.component.ts index a895f3d56d..cca3ab4b94 100644 --- a/src-ui/src/app/components/common/input/monetary/monetary.component.ts +++ b/src-ui/src/app/components/common/input/monetary/monetary.component.ts @@ -5,6 +5,7 @@ import { NG_VALUE_ACCESSOR, ReactiveFormsModule, } from '@angular/forms' +import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' import { AbstractInputComponent } from '../abstract-input' @Component({ @@ -18,7 +19,12 @@ import { AbstractInputComponent } from '../abstract-input' selector: 'pngx-input-monetary', templateUrl: './monetary.component.html', styleUrls: ['./monetary.component.scss'], - imports: [CurrencyPipe, FormsModule, ReactiveFormsModule], + imports: [ + CurrencyPipe, + FormsModule, + ReactiveFormsModule, + NgxBootstrapIconsModule, + ], }) export class MonetaryComponent extends AbstractInputComponent { public currency: string = ''