1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Chore: Improve tag detection in UI

This commit is contained in:
Ralph Slooten
2024-09-06 15:57:41 +12:00
parent 54a72e8e1e
commit bd5c450294

View File

@@ -22,7 +22,7 @@ export default {
return false
}
let re = new RegExp(`\\btag:("${tag}"|${tag}\\b)`, 'i')
let re = new RegExp(`(^|\\s)tag:("${tag}"|${tag}\\b)`, 'i')
return query.match(re)
},