Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Oct 8, 2019
1 parent ddae6b8 commit 55aba97
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/mentions-flextab/client/views/mentionsFlexTab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import _ from 'underscore';
import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { ReactiveVar } from 'meteor/reactive-var';
import { Template } from 'meteor/templating';

Expand Down Expand Up @@ -31,14 +32,13 @@ Template.mentionsFlexTab.onCreated(function() {
this.limit = new ReactiveVar(LIMIT_DEFAULT);

this.autorun(() => {

const query = {
_hidden: { $ne: true },
'mentions.username': Users.findOne(Meteor.userId(), { fields: { username: 1 } }).username,
rid: this.data.rid,
_updatedAt: {
$gt: new Date(),
}
},
};

this.cursor && this.cursor.stop();
Expand All @@ -56,9 +56,7 @@ Template.mentionsFlexTab.onCreated(function() {
this.messages.remove({ _id });
},
});

})

});

this.autorun(async () => {
const limit = this.limit.get();
Expand Down

0 comments on commit 55aba97

Please sign in to comment.