change recipe timetamp to no datepipe
This commit is contained in:
parent
03b65399df
commit
ae9f487b39
3 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ export type RecipeOverview = {
|
|||
|
||||
export type RecipesDashboard = {
|
||||
configNumber: number;
|
||||
LastUpdated: Date;
|
||||
lastUpdated: String;
|
||||
filename: string;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@
|
|||
<span class=""
|
||||
>Last Updated:
|
||||
{{
|
||||
recipesDashboard.configNumber | date : "dd-MMM-yyyy hh:mm:ss"
|
||||
recipesDashboard.lastUpdated
|
||||
}}</span
|
||||
>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@ export class RecipesComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
this.recipesDashboard$.subscribe((data) => {
|
||||
this.currentVersion = data.configNumber;
|
||||
console.log('current version', this.currentVersion);
|
||||
console.log("data : ", data);
|
||||
});
|
||||
|
||||
console.log('ngAfterViewInit::department', this.department);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue