Disabled actor tags for performance evaluation.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<Icon icon="search" />
|
||||
</label>
|
||||
|
||||
<!--
|
||||
<div
|
||||
v-show="showActorTags"
|
||||
v-tooltip="'Tags relevant to the selected actors'"
|
||||
@@ -29,6 +30,7 @@
|
||||
>
|
||||
<Icon icon="price-tags" />
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div
|
||||
v-show="order === 'priority'"
|
||||
@@ -140,12 +142,13 @@ const props = defineProps({
|
||||
const emit = defineEmits(['update']);
|
||||
|
||||
const { pageProps } = inject('pageContext');
|
||||
const { tag: pageTag, actor: pageActor } = pageProps;
|
||||
// const { tag: pageTag, actor: pageActor } = pageProps;
|
||||
const { tag: pageTag } = pageProps;
|
||||
|
||||
const search = ref('');
|
||||
const searchRegexp = computed(() => new RegExp(search.value, 'i'));
|
||||
const order = ref('priority');
|
||||
const showActorTags = ref(true);
|
||||
// const showActorTags = ref(true);
|
||||
|
||||
const priorityTags = [
|
||||
'anal',
|
||||
@@ -169,9 +172,12 @@ const priorityTags = [
|
||||
];
|
||||
|
||||
const groupedTags = computed(() => {
|
||||
/*
|
||||
const tags = showActorTags.value && props.actorTags && (props.filters.actors.length > 0 || pageActor)
|
||||
? props.actorTags
|
||||
: props.tags;
|
||||
*/
|
||||
const tags = props.tags;
|
||||
|
||||
const selected = tags.filter((tag) => props.filters.tags.includes(tag.slug));
|
||||
const filtered = tags.filter((tag) => !props.filters.tags.includes(tag.slug)
|
||||
|
||||
Reference in New Issue
Block a user