diff --git a/webpack/lib/channel-controller.js b/webpack/lib/channel-controller.js index dcc2b67..4c8171b 100644 --- a/webpack/lib/channel-controller.js +++ b/webpack/lib/channel-controller.js @@ -37,12 +37,12 @@ export default class ChannelController{ /* (2) Navigate vue-router */ gs.get.router.push(`/channel/${channel.link}`); - /* (3) Load rooms */ - gs.get.room.fetch(); - - /* (4) Update active element */ + /* (3) Update active element */ this.current = channel.id; + /* (4) Load rooms */ + gs.get.room.fetch(); + /* (5) Log channel */ console.log(`[channel.current] ${channel.link} (${channel.label})`);