Skip to content

Commit

Permalink
tweak the tag name slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
TobleroneSwordfish committed Dec 4, 2024
1 parent d176316 commit 4466116
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions resources/js/Pages/Admin/Logs/Partials/LogEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
color: black;
}
:deep(.traitor-marker) {
:deep(.traitorTag) {
display: inline-block;
border-radius: 3px;
padding: 0 5px;
Expand Down Expand Up @@ -156,9 +156,6 @@ export default {
</span>`
)
const traitorRegex = /\[<span class='traitorTag'>T<\/span>\]/g
message = message.replaceAll(traitorRegex, '<span class="traitor-marker">T</span>')
if (this.searchTerms.length) {
const searchRegex = new RegExp(
this.searchTerms.map((term) => `(${this.escapeRegExp(term)})`).join('|'),
Expand Down

0 comments on commit 4466116

Please sign in to comment.