src/pyams_default_theme/shared/common/navigation.py
changeset 366 4c4b26c3972a
parent 203 40bffafce365
child 531 d900ecb7c6f6
--- a/src/pyams_default_theme/shared/common/navigation.py	Wed Jan 09 15:44:26 2019 +0100
+++ b/src/pyams_default_theme/shared/common/navigation.py	Thu Jan 10 17:45:06 2019 +0100
@@ -49,6 +49,6 @@
 
     @property
     def visible(self):
-        version = self.context.published_version
+        version = self.context.visible_version
         if version is not None:
             return IWorkflowPublicationInfo(version).is_visible(self.request)