fixed rubirc reloading with extra credit

This commit is contained in:
2023-10-25 09:40:02 -06:00
parent e7f48ca2df
commit cd2591d76b

View File

@@ -131,7 +131,7 @@
@foreach (var (rubricItem, index) in rubric.Select((r, i) => (r, i)))
{
<RubricEditorItem
@key="@($"index-{index}-key-{rubricReloadKey}")"
@key="@($"index-{index}-key-{rubricReloadKey}-extra-credit-{rubricItem.IsExtraCredit}")"
RubricItem="rubricItem"
OnUpdate="(newItem) => editItem(newItem, index)"
MoveUp="() => MoveUp(rubricItem)"