Reserving campaign space on actor, entity and tag pages.
This commit is contained in:
parent
717f07a09a
commit
b0c0b1a792
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue