nautobot / nautobot-app-golden-config

Golden Configuration App for Nautobot.
https://docs.nautobot.com/projects/golden-config/en/latest/
Other
98 stars 56 forks source link

Configuration Types Panel Missing in 2.x #731

Closed jdrew82 closed 6 months ago

jdrew82 commented 6 months ago

Environment

Expected Behavior

I expect to see the Configuration Types panel in the Device detail page that provides links to the device Backup, Intended, Compliance, and SoTAggr results.

Observed Behavior

The panel is missing.

Steps to Reproduce

  1. Setup Nautobot and Golden Config.
  2. Run compliance against a Device.
  3. Evaluate Device detail page.
whitej6 commented 6 months ago

This conditional should not be nested inside this conditional because it should be an elif instead of a nested conditional. For the affected panel you will see the parent conditional will always eval to false since it is not in the context here as compliance is not in the context.

jdrew82 commented 6 months ago

Thanks for finding the issue @whitej6!