add highlighting to jobs
This commit is contained in:
@ -22,6 +22,7 @@ export default React.createClass({
|
|||||||
id,
|
id,
|
||||||
company,
|
company,
|
||||||
position,
|
position,
|
||||||
|
isHighlighted,
|
||||||
description,
|
description,
|
||||||
logo,
|
logo,
|
||||||
city,
|
city,
|
||||||
@ -44,6 +45,7 @@ export default React.createClass({
|
|||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<Panel
|
<Panel
|
||||||
|
bsStyle={ isHighlighted ? 'warning' : 'default' }
|
||||||
collapsible={ true }
|
collapsible={ true }
|
||||||
eventKey={ index }
|
eventKey={ index }
|
||||||
header={ header }
|
header={ header }
|
||||||
|
@ -3,12 +3,8 @@ import Hikes from './Hikes';
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
path: '/',
|
path: '/',
|
||||||
getChildRoutes(locationState, cb) {
|
childRoutes: [
|
||||||
setTimeout(() => {
|
|
||||||
cb(null, [
|
|
||||||
Jobs,
|
Jobs,
|
||||||
Hikes
|
Hikes
|
||||||
]);
|
]
|
||||||
}, 0);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user