Ignore current server when checking port usage
This commit is contained in:
parent
ce35012bbb
commit
e8aea10def
1 changed files with 1 additions and 1 deletions
|
|
@ -280,6 +280,6 @@
|
|||
private async Task OnPortNumberChanged(int value)
|
||||
{
|
||||
if (value > 0)
|
||||
PortInUse = await ServerService.Get(s => s.Port == value).AnyAsync();
|
||||
PortInUse = await ServerService.Get(s => s.Port == value && s.Id != Id).AnyAsync();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue