Skip to content

Commit

Permalink
Perf on mobile: do not load forum info unless shown
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Besson committed Apr 12, 2021
1 parent 3797785 commit aa9850a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/views/portals/FeedView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
</div>
<feed-widget :type="isPersonal && $user.isLogged ? 'personal' : 'default'" hide-empty-documents />
</div>
<div class="column is-hidden-mobile is-5-tablet is-5-desktop is-4-widescreen is-3-fullhd">
<div
v-if="!$screen.isMobile"
class="column is-hidden-mobile is-5-tablet is-5-desktop is-4-widescreen is-3-fullhd"
>
<h3 class="title is-3" v-translate>Last forum topics</h3>

<forum-widget wide class="box is-paddingless" />
Expand Down

0 comments on commit aa9850a

Please sign in to comment.