Skip to content

Commit

Permalink
Added missing else clause
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-n committed Dec 9, 2024
1 parent f677db3 commit 763387a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Web/AdminPanel/Services/NavigationHistory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ public void JumpTo(HistoryEntry entry)
}
}
}
else
{
// should never happen :)
return;
}

this.HistoryChanged?.Invoke(this, EventArgs.Empty);
if (this._current is not null)
Expand Down

0 comments on commit 763387a

Please sign in to comment.