mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-17 16:42:41 +00:00
Remove unnecessary check
This commit is contained in:
@@ -175,8 +175,6 @@ const Snippetbar = createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderHistoryItems : function() {
|
renderHistoryItems : function() {
|
||||||
if(this.state.historyItems.length == 0) return;
|
|
||||||
|
|
||||||
return <div className='dropdown'>
|
return <div className='dropdown'>
|
||||||
{_.map(this.state.historyItems, (item, index)=>{
|
{_.map(this.state.historyItems, (item, index)=>{
|
||||||
if(item.noData || !item.savedAt) return;
|
if(item.noData || !item.savedAt) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user