Skip to content

Commit 58b7006

Browse files
committed
fix(ol-interaction-modify): fix if-clause
closes #371
1 parent 9701c57 commit 58b7006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/components/interaction/OlInteractionModify.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ const {
5959
} = toRefs(props);
6060
6161
function createModify() {
62-
if (!(source?.value || !features.value)) {
62+
if (!(source?.value || features.value)) {
6363
console.error(
64-
`[Vue3-OpenLayers Error] OlInteractionModify: Modify interactions needs either a either a source or features to work.
64+
`[Vue3-OpenLayers Error] OlInteractionModify: Modify interactions needs either a source or features to work.
6565
Please provide either the props 'source' or 'feature' or use the component with an '<OlSourceVector>' component.`,
6666
);
6767
}

0 commit comments

Comments
 (0)