Commits

Anonymous committed 737d147

Fix issue 3

Comments (0)

Files changed (1)

                     self.kwargs[key] = resolve(value, self.context)
                 nav.kwargs = self.kwargs
 
-            if not self.check_conditional(nav):
+            if self.check_conditional(nav):
                 continue
             nav.option_list = self.build_options(nav.options)
             nav.active = False
             if self.kwargs:
                 option.kwargs = self.kwargs
 
-            if not self.check_conditional(option):
+            if self.check_conditional(option):
                 continue
             option.option_list = self.build_options(option.options)
             options.append(template.loader.render_to_string(option.template,