add DatePipe to providers in routing module (#1570)
This commit is contained in:
parent
11034de7d1
commit
42ececbcf5
|
@ -1,3 +1,4 @@
|
|||
import { DatePipe } from "@angular/common";
|
||||
import { NgModule } from "@angular/core";
|
||||
import { RouterModule, Routes } from "@angular/router";
|
||||
|
||||
|
@ -473,5 +474,6 @@ const routes: Routes = [
|
|||
}),
|
||||
],
|
||||
exports: [RouterModule],
|
||||
providers: [DatePipe],
|
||||
})
|
||||
export class OssRoutingModule {}
|
||||
|
|
Loading…
Reference in New Issue