Fix panel not assigned on insights (#8346)

This commit is contained in:
José Varela
2021-09-27 18:20:35 +01:00
committed by GitHub
parent c3253edced
commit a230a7c2cf

View File

@@ -88,7 +88,7 @@
<router-view
name="detail"
:dashboard-key="primaryKey"
:panel="panels.find((panel) => panel.id === panelKey)"
:panel="panelKey ? panels.find((panel) => panel.id === panelKey) : null"
@save="stageConfiguration"
@cancel="$router.push(`/insights/${primaryKey}`)"
/>