fix test to be passed

parent 010d9228
...@@ -31,7 +31,6 @@ import ZimbraStore from '../../stores/zimbra_store.jsx'; ...@@ -31,7 +31,6 @@ import ZimbraStore from '../../stores/zimbra_store.jsx';
const QueryOptions = Constants.QueryOptions; const QueryOptions = Constants.QueryOptions;
const messageType = Constants.MessageType; const messageType = Constants.MessageType;
const codes = Constants.ZimbraCodes;
export default class Mailboxes extends React.Component { export default class Mailboxes extends React.Component {
constructor(props) { constructor(props) {
...@@ -270,7 +269,7 @@ export default class Mailboxes extends React.Component { ...@@ -270,7 +269,7 @@ export default class Mailboxes extends React.Component {
domain: domainName, domain: domainName,
loading: false loading: false
}); });
}).catch(console.error.bind('error')); }).catch((err) => err);
} }
getAllMailboxes(domainId) { getAllMailboxes(domainId) {
......
.datepicker-days { .datepicker-days {
padding: 10px 10px 0px 10px; padding: 10px 10px 0;
.switch { .switch {
text-align: center; text-align: center;
} }
.today { .today {
color: #337ab7; color: $color-active-day;
} }
.day { .day {
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
} }
.active { .active {
color: #FFF; background-color: $color-active-day;
background-color: #337ab7; color: $white;
} }
} }
...@@ -27,6 +27,7 @@ $color-yellow: #ffb606; ...@@ -27,6 +27,7 @@ $color-yellow: #ffb606;
$color-orange: #e67e22; $color-orange: #e67e22;
$color-red: #e74c3c; $color-red: #e74c3c;
$color-red-deep: #c0392b; $color-red-deep: #c0392b;
$color-active-day: #337ab7;
// Additional colors // Additional colors
$color-text: #6a6c6f; $color-text: #6a6c6f;
......
...@@ -881,6 +881,7 @@ export function getConfigName() { ...@@ -881,6 +881,7 @@ export function getConfigName() {
} }
export function isDevMode() { export function isDevMode() {
// eslint-disable-next-line
return process.env.NODE_ENV === 'development'; return process.env.NODE_ENV === 'development';
} }
......
Markdown is supported
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