mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 13:32:45 +00:00
circleCI fix
hopefully last one.. circleCI fixes circleCI fixes
This commit is contained in:
@@ -39,26 +39,20 @@ const Snippetbar = createClass({
|
|||||||
renderSnippetGroups : function(){
|
renderSnippetGroups : function(){
|
||||||
let snippets = [];
|
let snippets = [];
|
||||||
|
|
||||||
|
|
||||||
if(this.props.renderer === 'V3')
|
if(this.props.renderer === 'V3')
|
||||||
if(this.props.view === 'text') {
|
if(this.props.view === 'text') {
|
||||||
snippets = SnippetsV3.filter(SnippetsV3 => SnippetsV3.view === 'text');
|
snippets = SnippetsV3.filter((SnippetsV3)=>SnippetsV3.view === 'text');
|
||||||
}
|
} else if(this.props.view === 'style') {
|
||||||
else if(this.props.view === 'style') {
|
snippets = SnippetsV3.filter((SnippetsV3)=>SnippetsV3.view === 'style');
|
||||||
snippets = SnippetsV3.filter(SnippetsV3 => SnippetsV3.view === 'style');
|
} else
|
||||||
}
|
snippets = null;
|
||||||
else
|
|
||||||
snippets = null
|
|
||||||
else
|
else
|
||||||
if(this.props.view === 'text') {
|
if(this.props.view === 'text') {
|
||||||
snippets = SnippetsLegacy.filter(SnippetsLegacy => SnippetsLegacy.view === 'text');
|
snippets = SnippetsLegacy.filter((SnippetsLegacy)=>SnippetsLegacy.view === 'text');
|
||||||
}
|
} else if(this.props.view === 'style') {
|
||||||
else if(this.props.view === 'style') {
|
snippets = SnippetsLegacy.filter((SnippetsLegacy)=>SnippetsLegacy.view === 'style');
|
||||||
snippets = SnippetsLegacy.filter(SnippetsLegacy => SnippetsLegacy.view === 'style');
|
} else
|
||||||
}
|
snippets = null;
|
||||||
else
|
|
||||||
snippets = null
|
|
||||||
|
|
||||||
|
|
||||||
return _.map(snippets, (snippetGroup)=>{
|
return _.map(snippets, (snippetGroup)=>{
|
||||||
return <SnippetGroup
|
return <SnippetGroup
|
||||||
|
|||||||
Reference in New Issue
Block a user