We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8d284f commit 91a07caCopy full SHA for 91a07ca
src/components/interaction/OlInteractionModify.vue
@@ -59,7 +59,7 @@ const {
59
} = toRefs(props);
60
61
function createModify() {
62
- if (!source?.value || !features.value) {
+ if (!(source?.value || !features.value)) {
63
console.error(
64
`[Vue3-OpenLayers Error] OlInteractionModify: Modify interactions needs either a either a source or features to work.
65
Please provide either the props 'source' or 'feature' or use the component with an '<OlSourceVector>' component.`,
0 commit comments