Adds class and id to help identify filters wrapper in repository level context.

This commit is contained in:
mateuswetah 2024-07-29 17:09:38 -03:00
parent d14add4915
commit d30e9a8d9f
1 changed files with 14 additions and 4 deletions

View File

@ -51,7 +51,9 @@
<template <template
v-for="(taxonomyFilter, key, index) of taxonomyFilters" v-for="(taxonomyFilter, key, index) of taxonomyFilters"
:key="index"> :key="index">
<div v-if="key == 'repository-filters'"> <div
v-if="key == 'repository-filters'"
class="repository-level-filters">
<div <div
v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined" v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined"
v-tooltip="{ v-tooltip="{
@ -95,7 +97,10 @@
<template <template
v-for="(taxonomyFilter, key, index) of taxonomyFilters" v-for="(taxonomyFilter, key, index) of taxonomyFilters"
:key="index"> :key="index">
<div v-if="key != 'repository-filters'"> <div
v-if="key != 'repository-filters'"
class="collection-level-filters"
:id="'filters-from-collection-id-' + key">
<div <div
v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined" v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined"
v-tooltip="{ v-tooltip="{
@ -143,7 +148,9 @@
<template <template
v-for="(repositoryCollectionFilter, key, index) of repositoryCollectionFilters" v-for="(repositoryCollectionFilter, key, index) of repositoryCollectionFilters"
:key="index"> :key="index">
<div v-if="key == 'repository-filters'"> <div
v-if="key == 'repository-filters'"
class="repository-level-filters">
<div <div
v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined" v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined"
v-tooltip="{ v-tooltip="{
@ -187,7 +194,10 @@
<template <template
v-for="(repositoryCollectionFilter, key, index) of repositoryCollectionFilters" v-for="(repositoryCollectionFilter, key, index) of repositoryCollectionFilters"
:key="index"> :key="index">
<div v-if="key != 'repository-filters'"> <div
v-if="key != 'repository-filters'"
class="collection-level-filters"
:id="'filters-from-collection-id-' + key">
<div <div
v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined" v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined"
v-tooltip="{ v-tooltip="{