Skip to content

Missing computed named selected in HeaderActions

When navigating through elements with a local build we can see the following Vue warning in the console:

[Vue warn]: Property or method "selected" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <HeaderActions> at vue/HeaderActions.vue
       <ElementHeader> at vue/Element/ElementHeader.vue
         <Main> at vue/Element/Main.vue
           <App> at vue/App.vue
             <Root>

This error is appearing because selected computed was likely removed in MR !790 (merged)