Skip to content

Commit fed84cb

Browse files
committed
Made Cached Form Pull down stateful
1 parent 5c67b06 commit fed84cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MESS/MESS.Blazor/Components/Pages/ProductionLog/Create.razor.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ private async Task LoadCachedForm()
8282
}).ToList()
8383
};
8484
}
85+
86+
if (ProductionLog.LogSteps.TrueForAll(p => p.SubmitTime != DateTimeOffset.MinValue))
87+
{
88+
WorkInstructionStatus = Status.Completed;
89+
}
8590
}
8691

8792
private async Task HandleResetConfiguration()

0 commit comments

Comments
 (0)