Skip to content

Commit

Permalink
fix: Returned hiding filters in the absence of entries
Browse files Browse the repository at this point in the history
  • Loading branch information
MerkulovKA committed Sep 11, 2024
1 parent 42d6e73 commit 47a9d96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=af6b63cb6ed9eed7be553e12a990fcd6",
"/app.js": "/app.js?id=bf6d27a3dc26f5b74680ffe0b5d56143",
"/app-dark.css": "/app-dark.css?id=1ea407db56c5163ae29311f1f38eb7b9",
"/app.css": "/app.css?id=de4c978567bfd90b38d186937dee5ccf"
}
6 changes: 3 additions & 3 deletions resources/js/components/IndexScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
<h2 class="h6 m-0">{{this.title}}</h2>

<div class="d-flex w-100 justify-content-end" style="gap: 12px;">
<div class="form-control-with-icon w-25" v-if="!hideSearch">
<div class="form-control-with-icon w-25" v-if="!hideSearch && (tag || entries.length > 0)">
<div class="icon-wrapper">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="icon">
<path fill-rule="evenodd" d="M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z" clip-rule="evenodd" />
Expand All @@ -290,7 +290,7 @@
id="searchInput"
placeholder="Search Tag" v-model="tag" @input.stop="search('tag')">
</div>
<div class="form-control-with-icon w-25" v-if="!hideSearch">
<div class="form-control-with-icon w-25" v-if="!hideSearch && (status || entries.length > 0)">
<div class="icon-wrapper">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="icon">
<path fill-rule="evenodd" d="M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z" clip-rule="evenodd" />
Expand All @@ -300,7 +300,7 @@
id="searchStatus"
placeholder="Search by status" v-model="status" @input.stop="search('status')">
</div>
<div class="form-control-with-icon w-25" v-if="!hideSearch">
<div class="form-control-with-icon w-25" v-if="!hideSearch && (email || entries.length > 0)">
<div class="icon-wrapper">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" class="icon">
<path fill-rule="evenodd" d="M9 3.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM2 9a7 7 0 1112.452 4.391l3.328 3.329a.75.75 0 11-1.06 1.06l-3.329-3.328A7 7 0 012 9z" clip-rule="evenodd" />
Expand Down

0 comments on commit 47a9d96

Please sign in to comment.