Skip to content

Commit

Permalink
Hotfix/nodes not managed showed channel requests (#139)
Browse files Browse the repository at this point in the history
* Fixed nodes not managed showed channel requests
---------

Co-authored-by: Marcos <[email protected]>
  • Loading branch information
markettes and markettes authored Mar 13, 2023
1 parent 7ea45d2 commit 9368b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pages/ChannelRequests.razor
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
{
if (LoggedUser != null)
{
_manageableNodes = await NodeRepository.GetAll();
_manageableNodes = await NodeRepository.GetAllManagedByUser(LoggedUser.Id);
if (_selectedDestNode != null)
{
_manageableNodes = _manageableNodes.Where(node => node.Id != _selectedDestNode.Id).ToList();
Expand Down Expand Up @@ -488,7 +488,7 @@
}

// Refresh the list of available source nodes and take out the one selected
_manageableNodes = await NodeRepository.GetAll();
_manageableNodes = await NodeRepository.GetAllManagedByUser(LoggedUser.Id);
_manageableNodes = _manageableNodes.Where(node => node.Id != _selectedDestNode?.Id).ToList();
_destNodeValidation.Clear();
}
Expand Down

0 comments on commit 9368b08

Please sign in to comment.