Cytomine-ULiege / Cytomine-Web-UI

Cytomine-Web-UI is the graphical user interface for Cytomine. Our fork includes R&D experimental features. See @cytomine for official releases.
Apache License 2.0
5 stars 3 forks source link

Avoid mutating `shortTermToken` prop directly #110

Closed bathienle closed 1 month ago

bathienle commented 1 month ago

Description

A warning message in the console logs:

[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "shortTermToken"

found in

---> <ImagePreview> at src/components/image/ImagePreview.vue
       <GlobalDashboard> at src/components/GlobalDashboard.vue

Task