mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 10:06:58 +00:00
Add default value for document name in snippets menu
This commit is contained in:
1 parent
b605346c7d
commit
99efe7f06b
1 file changed
+1
-1
@@ -121,7 +121,7 @@ const Snippetbar = createClass({
|
||||
}
|
||||
}
|
||||
|
||||
const userSnippetsasJSON = brewSnippetsToJSON(this.props.brew.title, this.props.brew.snippets, this.props.themeBundle.snippets);
|
||||
const userSnippetsasJSON = brewSnippetsToJSON(this.props.brew.title || 'New Document', this.props.brew.snippets, this.props.themeBundle.snippets);
|
||||
compiledSnippets.push(userSnippetsasJSON);
|
||||
|
||||
return compiledSnippets;
|
||||
|
||||
Reference in new issue
Block a user