1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-03-27 22:01:33 +02:00

UI: Do not show excluded search tags as "current" in nav

This commit is contained in:
Ralph Slooten 2023-09-26 19:04:04 +13:00
parent 42a1fe1510
commit 1020f76bf8

View File

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