Skip to content

Commit

Permalink
Merge branch 'main' into fix/text-locator-heatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy authored Oct 8, 2024
2 parents 2357ff5 + 3c3a96a commit 0e0817b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/vuePlugins/vuex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ export const makeStore = () => {
}
if (state.configuration[name].displayComponent) {
commit('setComponents', [...components, component])

if (!state.configuration[name].layoutTag) {
console.warn(
`@polar/core: Component "${name}" was registered as visible ('displayComponent' had a truthy value), but no 'layoutTag' was associated. This may be an error in configuration and will lead to the component not being visible in the UI.`
)
}
}
},
centerOnFeature({ rootGetters: { map } }, feature: Feature) {
Expand Down

0 comments on commit 0e0817b

Please sign in to comment.