nautobot/nautobot-app-golden-config

Configuration Types Panel Missing in 2.x

jdrew82 opened this issue · 2 comments

Environment

  • Python version: 3.10
  • Nautobot version: 2.1.5
  • nautobot-golden-config version: 2.0.0

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.

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.

Thanks for finding the issue @whitej6!