Navigation Menu

Skip to content

Commit

Permalink
Step 20.41: Add PartyImage to PartiesList and subscribe to images
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 8b638c2 commit 3c92ae2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion imports/ui/components/partiesList/partiesList.js
Expand Up @@ -14,6 +14,7 @@ import { name as PartyRemove } from '../partyRemove/partyRemove';
import { name as PartyCreator } from '../partyCreator/partyCreator';
import { name as PartyRsvp } from '../partyRsvp/partyRsvp';
import { name as PartyRsvpsList } from '../partyRsvpsList/partyRsvpsList';
import { name as PartyImage } from '../partyImage/partyImage';

class PartiesList {
constructor($scope, $reactive) {
Expand All @@ -36,6 +37,7 @@ class PartiesList {
]);

this.subscribe('users');
this.subscribe('images');

this.helpers({
parties() {
Expand Down Expand Up @@ -81,7 +83,8 @@ export default angular.module(name, [
PartyRemove,
PartyCreator,
PartyRsvp,
PartyRsvpsList
PartyRsvpsList,
PartyImage
]).component(name, {
template,
controllerAs: name,
Expand Down

0 comments on commit 3c92ae2

Please sign in to comment.