Implement isNumber pipe

This commit is contained in:
shamoon
2023-08-12 08:31:42 -07:00
parent 0b4e8141b0
commit 3dda02660c
8 changed files with 33 additions and 3 deletions

View File

@@ -17,7 +17,6 @@ import {
NgbDropdownModule,
NgbModal,
NgbModalRef,
NgbPagination,
NgbPopoverModule,
NgbTooltipModule,
} from '@ng-bootstrap/ng-bootstrap'
@@ -63,6 +62,7 @@ import { HttpErrorResponse } from '@angular/common/http'
import { PermissionsGuard } from 'src/app/guards/permissions.guard'
import { SettingsService } from 'src/app/services/settings.service'
import { SETTINGS_KEYS } from 'src/app/data/paperless-uisettings'
import { IsNumberPipe } from 'src/app/pipes/is-number.pipe'
const docs: PaperlessDocument[] = [
{
@@ -126,6 +126,7 @@ describe('DocumentListComponent', () => {
DocumentTitlePipe,
UsernamePipe,
SafeHtmlPipe,
IsNumberPipe,
],
providers: [
FilterPipe,