Skip to content

Commit

Permalink
Merge pull request #78 from neozhu/PermissionSet
Browse files Browse the repository at this point in the history
🐛 fixed selectitem issue
  • Loading branch information
neozhu authored Apr 22, 2024
2 parents 6412685 + a09ffa3 commit 5750363
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Templates/Pages/.razor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
if (!state.Canceled)
{
await _table.ReloadServerData();
_selectedItems = new();
}
}
private async Task OnClone()
Expand All @@ -307,7 +308,7 @@
if (!state.Canceled)
{
await _table.ReloadServerData();
_selectedItems=new HashSet<{itemname}Dto>();
_selectedItems = new();
}
}
private async Task OnEdit({itemname}Dto dto)
Expand All @@ -324,6 +325,7 @@
if (!state.Canceled)
{
await _table.ReloadServerData();
_selectedItems = new();
}
}

Expand All @@ -341,7 +343,7 @@
if (!state.Canceled)
{
await _table.ReloadServerData();
_selectedItems.Remove(dto);
_selectedItems = new();
}
}

Expand Down

0 comments on commit 5750363

Please sign in to comment.