summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/LogParser/Index.cshtml
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-16 20:15:24 -0400
committerGitHub <noreply@github.com>2022-04-16 20:15:24 -0400
commit36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb (patch)
treeb2bd895befa449ac8fb983755fc9f337e25926e0 /src/SMAPI.Web/Views/LogParser/Index.cshtml
parentd486d940bae57f627fbe3210bbfa611a5586c8e8 (diff)
parent446205c7bd342422f4b4f14d6c8f36dc0b6cf468 (diff)
downloadSMAPI-36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb.tar.gz
SMAPI-36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb.tar.bz2
SMAPI-36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb.zip
Merge pull request #841 from KhloeLeclair/safe-regex
[Website] Improve regex safety for the log viewer
Diffstat (limited to 'src/SMAPI.Web/Views/LogParser/Index.cshtml')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index dfb603f2..5e55906d 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -406,6 +406,12 @@ else if (log?.IsValid == true)
<span role="button" v-bind:class="{ active: !filterInsensitive }" v-on:click="toggleFilterInsensitive" title="Match exact capitalization only.">aA</span>
<span role="button" v-bind:class="{ active: filterUseWord, 'whole-word': true }" v-on:click="toggleFilterWord" title="Match whole word only."><i>“ ”</i></span>
<span role="button" v-bind:class="{ active: shouldHighlight }" v-on:click="toggleHighlight" title="Highlight matches in the log text.">HL</span>
+ <div
+ v-if="filterError"
+ class="filter-error"
+ >
+ {{ filterError }}
+ </div>
</div>
<filter-stats
v-bind:start="start"