Commit 5377325b authored by Andrew Zaytsev's avatar Andrew Zaytsev 🏀
Browse files

fix bug with call eventTabCallback

parent 97187805
...@@ -8,11 +8,11 @@ function* getProject() { ...@@ -8,11 +8,11 @@ function* getProject() {
} }
this.body = yield this.config.projectTabCallback( this.body = yield this.config.projectTabCallback(
this.state.instance, this.state.instance,
this.state.project, this.state.project,
this.state.tabId, this.state.tabId,
this.state.user this.state.user,
); );
} }
function* getEvent() { function* getEvent() {
...@@ -22,13 +22,13 @@ function* getEvent() { ...@@ -22,13 +22,13 @@ function* getEvent() {
return; return;
} }
this.body = yield this.config.projectTabCallback( this.body = yield this.config.eventTabCallback(
this.state.instance, this.state.instance,
this.state.project, this.state.project,
this.state.eventId, this.state.eventId,
this.state.tabId, this.state.tabId,
this.state.user this.state.user,
); );
} }
module.exports = {getProject, getEvent}; module.exports = { getProject, getEvent };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment