mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 02:09:05 +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<{
|
const props = defineProps<{
|
||||||
query: string;
|
query: string;
|
||||||
|
hideFilters?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
@ -235,7 +236,7 @@ function onInputKeydown(evt: KeyboardEvent) {
|
|||||||
<i class="ph-magnifying-glass ph-bold"></i>
|
<i class="ph-magnifying-glass ph-bold"></i>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #suffix>
|
<template v-if="!hideFilters" #suffix>
|
||||||
<button
|
<button
|
||||||
v-tooltip.noDelay="i18n.ts.filter"
|
v-tooltip.noDelay="i18n.ts.filter"
|
||||||
class="_buttonIcon"
|
class="_buttonIcon"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
:display-back-button="true"
|
:display-back-button="true"
|
||||||
/></template>
|
/></template>
|
||||||
<MkSpacer :content-max="800">
|
<MkSpacer :content-max="800">
|
||||||
<MkSearch :query="query" @query="search"/>
|
<MkSearch :query="query" :hideFilters="!$i || tab === 'users'" @query="search"/>
|
||||||
<swiper
|
<swiper
|
||||||
:round-lengths="true"
|
:round-lengths="true"
|
||||||
:touch-angle="25"
|
:touch-angle="25"
|
||||||
|
Loading…
Reference in New Issue
Block a user