From f3f66b0dc9b4135e9a30ef7348a78c4272d6a9f4 Mon Sep 17 00:00:00 2001 From: Sergey Andrievskiy Date: Thu, 18 Jul 2019 11:26:52 +0300 Subject: [PATCH] fix(stepper): add missing stepper provider (#1831) --- src/framework/theme/components/stepper/stepper.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/framework/theme/components/stepper/stepper.component.ts b/src/framework/theme/components/stepper/stepper.component.ts index 0b562cc5d4..43de51d23e 100644 --- a/src/framework/theme/components/stepper/stepper.component.ts +++ b/src/framework/theme/components/stepper/stepper.component.ts @@ -12,6 +12,7 @@ import { } from '@angular/core'; import { convertToBoolProperty } from '../helpers'; import { NbStepComponent } from './step.component'; +import { NB_STEPPER } from './stepper-tokens'; export enum NbStepperOrientation { VERTICAL = 'vertical', @@ -96,6 +97,7 @@ export enum NbStepperOrientation { selector: 'nb-stepper', styleUrls: ['./stepper.component.scss'], templateUrl: './stepper.component.html', + providers: [{ provide: NB_STEPPER, useExisting: NbStepperComponent }], }) export class NbStepperComponent {