Skip to content

Commit

Permalink
remove package version limitation (DynamoDS#14716)
Browse files Browse the repository at this point in the history
- now allows package version to start with 0
- cannot have 0.0.0 package version

(cherry picked from commit 992e54c)
  • Loading branch information
dnenov authored and saintentropy committed Dec 9, 2023
1 parent 407dfd8 commit f8d4e80
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/DynamoCoreWpf/UI/Converters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f8d4e80

Please sign in to comment.