UI - Remove unique check for URLs entered on the "quick watch add" form ( #2286 #2292 )

pull/2305/head
dgtlmoon 9 months ago committed by GitHub
parent 56b365df40
commit daef1cd036
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1293,8 +1293,7 @@ def changedetection_app(config=None, datastore_o=None):
url = request.form.get('url').strip()
if datastore.url_exists(url):
flash('The URL {} already exists'.format(url), "error")
return redirect(url_for('index'))
flash(f'Warning, URL {url} already exists', "notice")
add_paused = request.form.get('edit_and_watch_submit_button') != None
processor = request.form.get('processor', 'text_json_diff')

Loading…
Cancel
Save