diff --git a/README.md b/README.md index 62e4dae81..ddb15b565 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Goponents -###### Currently `v1.13.0` +###### Currently `v1.13.1` This project houses a set of UI components for Angular 7+ and designed around the 'Go' design system. diff --git a/projects/go-lib/package.json b/projects/go-lib/package.json index b0490e130..16286eb2a 100644 --- a/projects/go-lib/package.json +++ b/projects/go-lib/package.json @@ -1,6 +1,6 @@ { "name": "@tangoe/goponents", - "version": "1.13.0", + "version": "1.13.1", "repository": { "type": "git", "url": "git+https://github.com/mobi/goponents.git" diff --git a/projects/go-lib/src/lib/components/go-form-errors/go-form-errors.component.ts b/projects/go-lib/src/lib/components/go-form-errors/go-form-errors.component.ts index ff187ffbc..7e9a6f123 100644 --- a/projects/go-lib/src/lib/components/go-form-errors/go-form-errors.component.ts +++ b/projects/go-lib/src/lib/components/go-form-errors/go-form-errors.component.ts @@ -25,7 +25,7 @@ export class GoFormErrorsComponent { */ errorString(k: string, v: any): string { const ngValidator: (...args: any) => string = this.goFormService.ngValidators[k]; - return ngValidator ? (typeof v === 'object') ? ngValidator(v) : v : v; + return ngValidator ? ngValidator(v) : v; } } diff --git a/projects/go-lib/src/lib/services/form.service.spec.ts b/projects/go-lib/src/lib/services/form.service.spec.ts index d757fb0b3..f539057ea 100644 --- a/projects/go-lib/src/lib/services/form.service.spec.ts +++ b/projects/go-lib/src/lib/services/form.service.spec.ts @@ -3,7 +3,7 @@ import { FormControl, Validators } from '@angular/forms'; import { GoFormService } from './form.service'; -fdescribe('GoFormService', () => { +describe('GoFormService', () => { let service: GoFormService; beforeEach(() => {