mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
[client] Don't show FTS filters in user search and guest view
This commit is contained in:
parent
dcee692caf
commit
a703638199
@ -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 New Issue
Block a user