From 992e54c7c65f2f48070b92932b643582df08b6a1 Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Fri, 8 Dec 2023 05:19:25 +0000 Subject: [PATCH] remove package version limitation (#14716) - now allows package version to start with 0 - cannot have 0.0.0 package version --- src/DynamoCoreWpf/UI/Converters.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/DynamoCoreWpf/UI/Converters.cs b/src/DynamoCoreWpf/UI/Converters.cs index 6028ffb653e..5e90ac14558 100644 --- a/src/DynamoCoreWpf/UI/Converters.cs +++ b/src/DynamoCoreWpf/UI/Converters.cs @@ -18,7 +18,6 @@ using Dynamo.Search.SearchElements; using Dynamo.UI; using Dynamo.UI.Controls; -using Dynamo.Updates; using Dynamo.Utilities; using Dynamo.ViewModels; using Dynamo.Wpf.Properties; @@ -3898,10 +3897,7 @@ public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is string nullOrEmptyString && String.IsNullOrEmpty(nullOrEmptyString)) return Visibility.Visible; - if (value is string zeroString && zeroString.Equals("0")) - { - return Visibility.Visible; - } + return Visibility.Collapsed; }