Skip to content

Commit 17efbdc

Browse files
committed
[community] bugfix for bus/edu logo lists, was broken after introducing pagination for connections
1 parent 6bf7b97 commit 17efbdc

12 files changed

Lines changed: 23 additions & 23 deletions

community-app/frontend/src/components/LogoListView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const emit = defineEmits(['click']);
1717
<div v-for="item in list.items" track-by="item.name" class="col mx-0 px-0">
1818
<NTooltip :disabled="!item.tagline" trigger="hover" placement="top" delay="50" duration="0">
1919
<template #trigger>
20-
<div class="companyCard p-3 h-100 p-4" @click.prevent="emit('click', item.slug)">
20+
<div class="companyCard p-3 h-100 px-3 py-4" @click.prevent="emit('click', item.slug)">
2121
<div class="company">
2222
<div class="logo">
2323
<img :src="item.logo || defaultLogo"/>

community-app/frontend/src/routes/ListStoreHelper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const storeObject = (key) => (
4545
this.loading = true;
4646

4747
try{
48-
this.list.list = await fetchList(listFetchURLs[key], this.pager);
48+
this.list.list = await fetchList(listFetchURLs[key]);
4949
}
5050
catch (error){
5151
this.fetched = false;
@@ -128,10 +128,10 @@ function pagerParam(pager)
128128
return `&limit=${pager.size}&page=${pager.page}`;
129129
}
130130

131-
async function fetchList(url, pager)
131+
async function fetchList(url)
132132
{
133133

134-
const response = await fetch (url + pagerParam(pager));
134+
const response = await fetch (url);
135135

136136
if (response.ok)
137137
{

static/js/vue/app-BusinessList-ijLiT4c-.js renamed to static/js/vue/app-BusinessList-B_N82h-7.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import{a3 as s}from"./app.js";import{s as e}from"./app-ListStoreHelper-BBjC9F2P.js";const t=Object.create(e("business")),i=s("businessList",t);export{i as u};
1+
import{a3 as s}from"./app.js";import{s as e}from"./app-ListStoreHelper-BG-msJX6.js";const t=Object.create(e("business")),i=s("businessList",t);export{i as u};
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import{a3 as e}from"./app.js";import{s as t}from"./app-ListStoreHelper-BBjC9F2P.js";const o=Object.create(t("edu")),a=e("eduList",o);export{a as u};
1+
import{a3 as e}from"./app.js";import{s as t}from"./app-ListStoreHelper-BG-msJX6.js";const o=Object.create(t("edu")),a=e("eduList",o);export{a as u};

0 commit comments

Comments
 (0)