Skip to content

Commit

Permalink
Merge pull request opensupports#34 from ivandiazwm/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandiazwm authored Jun 20, 2017
2 parents fa83ada + c2454ba commit 9e3e10c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions client/gulp/tasks/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ var gulp = require('gulp');
var runSequence = require('run-sequence');

gulp.task('prod', ['clean'], function(callback) {

process.env.NODE_ENV = 'production';

callback = callback || function() {};

global.isProd = true;

runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons'], callback);

});
});
2 changes: 1 addition & 1 deletion client/src/app/admin/panel/admin-panel-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AdminPanelMenu extends React.Component {
getGroups() {
return this.getRoutes().map((group) => {
return {
content: group.groupName,
content: <span className="admin-panel-menu__item-text">{group.groupName}</span>,
icon: group.icon
};
});
Expand Down
3 changes: 3 additions & 0 deletions client/src/app/admin/panel/admin-panel-menu.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.admin-panel-menu {

&__item-text {
display: inline-flex;
}
}

0 comments on commit 9e3e10c

Please sign in to comment.