mirror of
https://github.com/axllent/mailpit.git
synced 2025-08-15 20:13:16 +02:00
Chore: Improve tag detection in UI
This commit is contained in:
@@ -22,7 +22,7 @@ export default {
|
|||||||
return false
|
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)
|
return query.match(re)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user