Skip to content

Vue warning in dev when opening the selection page

When at least one element is selected, a Vue warning is displayed when opening the selection page:

[Vue warn]: Property "hasAdminPrivilege" was accessed during render but is not defined on instance. 
  at <CorpusSelection key=0 corpus-id="270a0494-c2e7-4433-b36c-49247a537f00" > 
  at <Selection onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy { <target>: {…}, <handler>: {…} } > > 
  at <RouterView> 
  at <App>

This property is used by a title to explain to users why a specific action that requires an admin access to the corpus is disabled.