mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
30 lines
951 B
JavaScript
30 lines
951 B
JavaScript
// import Telescope from 'meteor/nova:lib';
|
|
// import React, { PropTypes, Component } from 'react';
|
|
// import { ListContainer } from "meteor/utilities:react-list-container";
|
|
// import Posts from "meteor/nova:posts";
|
|
|
|
// class PostsSubscribedList extends Component {
|
|
|
|
// render() {
|
|
|
|
// const params = {view: 'userSubscribedPosts', userId: Meteor.userId(), listId: "posts.list.subscribed"};
|
|
// const {selector, options} = Posts.getParameters(params);
|
|
|
|
// return (
|
|
// <ListContainer
|
|
// collection={Posts}
|
|
// publication="posts.list"
|
|
// selector={selector}
|
|
// options={options}
|
|
// terms={params}
|
|
// joins={Posts.getJoins()}
|
|
// component={Telescope.components.PostsList}
|
|
// cacheSubscription={false}
|
|
// listId={params.listId}
|
|
// limit={Telescope.settings.get("postsPerPage", 10)}
|
|
// />
|
|
// )
|
|
// }
|
|
// };
|
|
|
|
// module.exports = PostsSubscribedList;
|