The PanelHeader is displayed even when the element is not loaded
Sentry Issue: ARKINDEX-FRONTEND-AJN
TypeError: can't access property "type", e.element is undefined
at call (./vue/Element/PanelHeader.vue?983d:1:77)
...
(31 additional frame(s) were not displayed)
- Open a non-folder element with some children
- Highlight a child on that element
- Press F5
Some TypeErrors will occur because the PanelHeader
component, which heavily relies on the element being loaded, will be shown even before the highlighted element is loaded.
The panel should either hide itself automatically using a v-if
, or should use an element
prop instead of a elementId
to require the parent component to give it an actual element.