Chat UIでのチャンネル表示数調整

This commit is contained in:
syuilo 2021-02-20 16:20:52 +09:00
parent b468c712e5
commit 6cb234fee2

View File

@ -223,11 +223,12 @@ export default defineComponent({
this.antennas = antennas;
});
os.api('channels/followed').then(channels => {
os.api('channels/followed', { limit: 20 }).then(channels => {
this.followedChannels = channels;
});
os.api('channels/featured').then(channels => {
// TODO: pagination
os.api('channels/featured', { limit: 20 }).then(channels => {
this.featuredChannels = channels;
});