Added connect form, autoselect when joining channels
This commit is contained in:
parent
0b8e97b215
commit
3214e5931a
11 changed files with 177 additions and 10 deletions
7
client/src/js/actions/route.js
Normal file
7
client/src/js/actions/route.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
var Reflux = require('reflux');
|
||||
|
||||
var routeActions = Reflux.createActions([
|
||||
'navigate'
|
||||
]);
|
||||
|
||||
module.exports = routeActions;
|
|
@ -1,7 +1,13 @@
|
|||
var Reflux = require('reflux');
|
||||
|
||||
var routeActions = require('./route');
|
||||
|
||||
var tabActions = Reflux.createActions([
|
||||
'select'
|
||||
]);
|
||||
|
||||
tabActions.select.preEmit = function() {
|
||||
routeActions.navigate('app');
|
||||
};
|
||||
|
||||
module.exports = tabActions;
|
Loading…
Add table
Add a link
Reference in a new issue