mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
[client] Don't show FTS filters in user search and guest view
This commit is contained in:
parent
dcee692caf
commit
a703638199
2 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ import * as Acct from "iceshrimp-js/built/acct";
|
|||
|
||||
const props = defineProps<{
|
||||
query: string;
|
||||
hideFilters?: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
|
@ -235,7 +236,7 @@ function onInputKeydown(evt: KeyboardEvent) {
|
|||
<i class="ph-magnifying-glass ph-bold"></i>
|
||||
</div>
|
||||
</template>
|
||||
<template #suffix>
|
||||
<template v-if="!hideFilters" #suffix>
|
||||
<button
|
||||
v-tooltip.noDelay="i18n.ts.filter"
|
||||
class="_buttonIcon"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
:display-back-button="true"
|
||||
/></template>
|
||||
<MkSpacer :content-max="800">
|
||||
<MkSearch :query="query" @query="search"/>
|
||||
<MkSearch :query="query" :hideFilters="!$i || tab === 'users'" @query="search"/>
|
||||
<swiper
|
||||
:round-lengths="true"
|
||||
:touch-angle="25"
|
||||
|
|
Loading…
Reference in a new issue