Reserving campaign space on actor, entity and tag pages.

This commit is contained in:
DebaucheryLibrarian 2023-07-06 00:42:12 +02:00
parent 717f07a09a
commit b0c0b1a792
4 changed files with 9 additions and 4 deletions

View File

@ -391,6 +391,8 @@
</template>
<script>
import config from 'config';
import Pagination from '../pagination/pagination.vue';
import FilterBar from '../filters/filter-bar.vue';
import Releases from '../releases/releases.vue';
@ -482,7 +484,7 @@ export default {
releases: null,
done: false,
totalCount: 0,
limit: 20,
limit: Number(this.$route.query.limit || 30) - config.campaigns.tiles, // reserve one campaign spot
pageTitle: null,
bioExpanded: false,
photosExpanded: false,

View File

@ -134,6 +134,8 @@
</template>
<script>
import config from 'config';
import FilterBar from '../filters/filter-bar.vue';
import Pagination from '../pagination/pagination.vue';
import Releases from '../releases/releases.vue';
@ -205,7 +207,7 @@ export default {
pageTitle: null,
totalCount: null,
done: false,
limit: Number(this.$route.query.limit) || 20,
limit: Number(this.$route.query.limit || 30) - config.campaigns.tiles, // reserve one campaign spot
expanded: false,
entityUrl: null,
};

View File

@ -81,7 +81,7 @@ export default {
releases: [],
networks: [],
pageTitle: null,
limit: 30 - config.campaigns.tiles, // reserve one campaign spot
limit: Number(this.$route.query.limit || 30) - config.campaigns.tiles, // reserve one campaign spot
totalCount: 0,
from: null,
done: false,

View File

@ -81,6 +81,7 @@
</template>
<script>
import config from 'config';
import { Converter } from 'showdown';
import escapeHtml from '../../../src/utils/escape-html';
@ -155,7 +156,7 @@ export default {
releases: null,
done: false,
totalCount: 0,
limit: 20,
limit: Number(this.$route.query.limit || 30) - config.campaigns.tiles, // reserve one campaign spot
pageTitle: null,
hasMedia: false,
expanded: false,