We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9701c57 commit 58b7006Copy full SHA for 58b7006
src/components/interaction/OlInteractionModify.vue
@@ -59,9 +59,9 @@ 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.
+ `[Vue3-OpenLayers Error] OlInteractionModify: Modify interactions needs either a source or features to work.
65
Please provide either the props 'source' or 'feature' or use the component with an '<OlSourceVector>' component.`,
66
);
67
}
0 commit comments