update recipe list and disable git pulling

This commit is contained in:
Kenta420 2023-10-31 10:30:06 +07:00
parent 15e74d47e3
commit fea5f8452a
7 changed files with 171 additions and 133 deletions

View file

@ -6,18 +6,20 @@
<div *ngIf="isLoaded; else indicator" [@inOutAnimation]>
<div class="flex flex-wrap">
<h5 class="mb-2 text-xl font-bold text-gray-900">
{{ recipeMetaData!.name }}
{{ recipeDetail.value.name }}
</h5>
<h5 class="mb-2 px-3 text-xl font-bold text-gray-900">|</h5>
<h5 class="mb-2 text-xl font-bold text-gray-900">
{{ recipeMetaData!.productCode }}
{{ recipeDetail.value.otherName }}
</h5>
</div>
<div class="flex items-center mb-2">
<div class="flex items-center">
<p class="text-sm text-gray-500">Last Modify</p>
<p class="ml-2 text-sm text-gray-900">
{{ recipeMetaData!.lastModified | date : "dd/MM/yyyy HH:mm:ss" }}
{{
recipeDetail.value.lastModified | date : "dd/MM/yyyy HH:mm:ss"
}}
</p>
</div>
</div>
@ -109,7 +111,10 @@
<div
class="col-span-3 min-h-[500px] max-h-[500px] overflow-auto mb-4 rounded bg-white border border-gray-200 shadow"
>
<app-recipe-list [recipeListData]="matForRecipeList"></app-recipe-list>
<app-recipe-list
[matRecipeList]="materialListIds$"
[parentForm]="recipeDetail"
></app-recipe-list>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div