diff --git a/app/TaskFlow/frmMain.vb b/app/TaskFlow/frmMain.vb index d023357..71a5169 100644 --- a/app/TaskFlow/frmMain.vb +++ b/app/TaskFlow/frmMain.vb @@ -808,10 +808,8 @@ Public Class frmMain NavBarControl1.Visible = True Dim oCountItems As Integer = 0 For Each oProfileRow As DataRow In CURR_DT_VWPM_PROFILE_ACTIVE.Rows - Dim oFileCount = CInt(oProfileRow.Item("FILE_COUNT")) Dim ODisplayMode = oProfileRow.Item("DISPLAY_MODE") - If oFileCount > 0 And (ODisplayMode = "Overview and Detail" Or ODisplayMode = "Detail") Then - + If (ODisplayMode = "Overview and Detail" Or ODisplayMode = "Detail") Then oCountItems += 1 Dim item1 As NavBarItem = NavBarControl1.Items.Add() item1.Caption = oProfileRow.Item("TITLE") @@ -825,8 +823,6 @@ Public Class frmMain item1.SmallImage = _image NavBarControl1.Groups(1).ItemLinks.Add(item1) - - End If Next If oCountItems > 0 Then