File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/DotNetDevLottery/Components/Random Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717 <FluentButton
1818 OnClick =" OnClickButton"
1919 Appearance =" @(Status == DrawMachineStatus.Pending ? Appearance.Neutral : Appearance.Accent)"
20- Disabled =" @(Status == DrawMachineStatus.Pending)"
20+ Disabled =" @(Status == DrawMachineStatus.Pending && PendingDrawCount == 0 )"
2121 class =" @TriggerButtonClass(Status == DrawMachineStatus.Pending)" >
2222 추첨 진행
2323 </FluentButton >
Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ public async Task OnDrawMachineAnimationEnd()
162162 }
163163 PendingDrawCount -- ;
164164
165- if ( PendingDrawCount < = 0 )
165+ if ( PendingDrawCount ! = 0 )
166166 {
167- Status = DrawMachineStatus . Done ;
167+ Status = DrawMachineStatus . Pending ;
168168 }
169169
170170 await OnDrawAnimationEnd . InvokeAsync ( new DrawAnimationEndEventArgs
You can’t perform that action at this time.
0 commit comments