We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb9262 commit 39fdbecCopy full SHA for 39fdbec
Console/BExIS.Web.Shell/Themes/Default/Partials/_Breadcrumb.cshtml
@@ -1,7 +1,8 @@
1
@{
2
string title = ViewBag.Title;
3
4
- if (title.Contains("-"))
+ // if title is not null and contains "-"
5
+ if (!string.IsNullOrEmpty(title) && title.Contains("-"))
6
{
7
// Remove only before the first hyphen and show the rest (BEXIS2 - Show Dataset: -> Show Dataset:)
8
title = title.Substring(title.IndexOf('-') + 1).Trim();
0 commit comments