Merge branch 'master' into add-supported-browsers-docs

This commit is contained in:
Kim Gardner
2017-05-05 16:46:21 -04:00
committed by GitHub
3 changed files with 11 additions and 5 deletions
@@ -3,10 +3,8 @@
}
.apply {
position: absolute;
top: 38%;
transform: translateX(-50%);
right: 0;
float: right;
margin: 0 10px;
}
.wrapper ul {
@@ -12,7 +12,6 @@ export default ({handleChange, handleApply, changed, ...props}) => (
<div className={styles.wrapper}>
<div className={styles.container}>
<h3>{lang.t('configureCommentStream.title')}</h3>
<p>{lang.t('configureCommentStream.description')}</p>
<Button
type="submit"
className={styles.apply}
@@ -20,6 +19,7 @@ export default ({handleChange, handleApply, changed, ...props}) => (
cStyle={changed ? 'green' : 'darkGrey'} >
{lang.t('configureCommentStream.apply')}
</Button>
<p>{lang.t('configureCommentStream.description')}</p>
</div>
<ul>
<li>
+8
View File
@@ -136,6 +136,14 @@ const UserSchema = new mongoose.Schema({
timestamps: {
createdAt: 'created_at',
updatedAt: 'updated_at'
},
toJSON: {
transform: function (doc, ret) {
delete ret.password;
delete ret._id;
delete ret.__v;
}
}
});