mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fix test, remove unused code
This commit is contained in:
parent
0a4e236bef
commit
e8ce152f06
@ -47,9 +47,6 @@ export default {
|
|||||||
LabeledButton,
|
LabeledButton,
|
||||||
},
|
},
|
||||||
mixins: [SortCategories],
|
mixins: [SortCategories],
|
||||||
props: {
|
|
||||||
showMobileMenu: { type: Boolean, default: false },
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
categories: [],
|
categories: [],
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
<base-icon class="dropdown-arrow" name="angle-down" />
|
<base-icon class="dropdown-arrow" name="angle-down" />
|
||||||
</base-button>
|
</base-button>
|
||||||
<template slot="popover">
|
<template slot="popover">
|
||||||
<filter-menu-component :showMobileMenu="showMobileMenu" />
|
<filter-menu-component />
|
||||||
</template>
|
</template>
|
||||||
</dropdown>
|
</dropdown>
|
||||||
</template>
|
</template>
|
||||||
@ -29,7 +29,6 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
placement: { type: String },
|
placement: { type: String },
|
||||||
offset: { type: [String, Number] },
|
offset: { type: [String, Number] },
|
||||||
showMobileMenu: { type: Boolean, default: false },
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters({
|
...mapGetters({
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<div class="filter-menu-options">
|
<div class="filter-menu-options">
|
||||||
<h2 class="title">{{ $t('filter-menu.filter-by') }}</h2>
|
<h2 class="title">{{ $t('filter-menu.filter-by') }}</h2>
|
||||||
<following-filter />
|
<following-filter />
|
||||||
<categories-filter v-if="categoriesActive" :showMobileMenu="showMobileMenu" />
|
<categories-filter v-if="categoriesActive" />
|
||||||
</div>
|
</div>
|
||||||
<div class="filter-menu-options">
|
<div class="filter-menu-options">
|
||||||
<h2 class="title">{{ $t('filter-menu.order-by') }}</h2>
|
<h2 class="title">{{ $t('filter-menu.order-by') }}</h2>
|
||||||
@ -28,9 +28,6 @@ export default {
|
|||||||
categoriesActive: this.$env.CATEGORIES_ACTIVE,
|
categoriesActive: this.$env.CATEGORIES_ACTIVE,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
|
||||||
showMobileMenu: { type: Boolean, default: false },
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -149,7 +149,7 @@
|
|||||||
style="flex-grow: 0; flex-basis: auto; padding: 20px 0"
|
style="flex-grow: 0; flex-basis: auto; padding: 20px 0"
|
||||||
>
|
>
|
||||||
<client-only>
|
<client-only>
|
||||||
<filter-menu v-show="showFilterMenuDropdown" :showMobileMenu="showMobileMenu" />
|
<filter-menu v-if="showFilterMenuDropdown && SHOW_CONTENT_FILTER_HEADER_MENU" />
|
||||||
</client-only>
|
</client-only>
|
||||||
</ds-flex-item>
|
</ds-flex-item>
|
||||||
</ds-flex>
|
</ds-flex>
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ds-container>
|
<ds-container>
|
||||||
<div class="main-container">
|
<div class="main-container">
|
||||||
<nuxt :showMobileMenu="showMobileMenu" />
|
<nuxt />
|
||||||
</div>
|
</div>
|
||||||
</ds-container>
|
</ds-container>
|
||||||
<page-footer v-if="!isMobile" />
|
<page-footer v-if="!isMobile" />
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
v-if="categoriesActive && SHOW_CONTENT_FILTER_MASONRY_GRID"
|
v-if="categoriesActive && SHOW_CONTENT_FILTER_MASONRY_GRID"
|
||||||
:row-span="1"
|
:row-span="1"
|
||||||
column-span="fullWidth"
|
column-span="fullWidth"
|
||||||
class="top-info-bar"
|
class="top-filter-menu"
|
||||||
>
|
>
|
||||||
<div class="filterButtonBox">
|
<div class="filterButtonBox">
|
||||||
<div class="filterButtonMenu" :class="{ 'hide-filter': hideByScroll }">
|
<div class="filterButtonMenu" :class="{ 'hide-filter': hideByScroll }">
|
||||||
@ -66,7 +66,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div id="my-filter" v-if="showFilter">
|
<div id="my-filter" v-if="showFilter">
|
||||||
<filter-menu-component :showMobileMenu="showMobileMenu" />
|
<filter-menu-component />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -139,9 +139,6 @@ export default {
|
|||||||
FilterMenuComponent,
|
FilterMenuComponent,
|
||||||
},
|
},
|
||||||
mixins: [postListActions],
|
mixins: [postListActions],
|
||||||
props: {
|
|
||||||
showMobileMenu: { type: Boolean, default: false },
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
const { hashtag = null } = this.$route.query
|
const { hashtag = null } = this.$route.query
|
||||||
return {
|
return {
|
||||||
@ -341,7 +338,8 @@ export default {
|
|||||||
box-shadow: $box-shadow-x-large;
|
box-shadow: $box-shadow-x-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-info-bar {
|
.top-info-bar,
|
||||||
|
.top-filter-menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user