Skip to content

Commit

Permalink
Only show my issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amiuhle committed May 27, 2015
1 parent 308c968 commit ea42866
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/redmine.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default {
apiKey: atom.config.get('redmine.apiKey')
});

this.getCurrentUser();
// this.getCurrentUser();

this.subscriptions = new CompositeDisposable();
this.subscriptions.add(atom.commands.add('atom-workspace', {
Expand All @@ -62,16 +62,15 @@ export default {
},

listIssues() {
console.log('listing issues!');
this.redmine.getIssues({
project_id: projectId
project_id: projectId,
assigned_to_id: 'me'
}).then((issues)=> {
this.createIssuesListView().toggle(issues);
}, this.showError);
},

createIssuesListView() {
// this.issuesListView = this.issuesListView || new IssuesListView();
return this.issuesListView || (this.issuesListView = new IssuesListView());
},

Expand Down

0 comments on commit ea42866

Please sign in to comment.