Skip to content

Commit

Permalink
Merge pull request #1829 from andybalaam/prevent-adding-bookmark-with…
Browse files Browse the repository at this point in the history
…-bad-url

Prevent saving a newly-added bookmark if the URL is bad
  • Loading branch information
marcelklehr authored Jan 14, 2025
2 parents 7f8a733 + 6fae653 commit f1df170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/native/AddBookmarkIntent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default {
},
methods: {
async onSave() {
if (!this.tree.findFolder(this.temporaryParent)) {
if (!this.tree.findFolder(this.temporaryParent) || this.urlError) {
return
}
await this.$store.dispatch(actions.CREATE_BOOKMARK, {
Expand Down

0 comments on commit f1df170

Please sign in to comment.