diff --git a/app/components/LibraryNav.jsx b/app/components/LibraryNav.jsx
index 6fabe5b..1916772 100644
--- a/app/components/LibraryNav.jsx
+++ b/app/components/LibraryNav.jsx
@@ -51,83 +51,13 @@ export default class LibraryNav extends React.Component {
this.state = {
open: true,
}
- this.navItems = [
- {
- 'name': 'Entries',
- 'isNotebook': true,
- 'icon':
,
- 'clicked': this.props.entriesTapped || this.entriesTapped
- },
- {
- 'name': 'Starred',
- 'notes': 0,
- 'icon': ,
- 'clicked': this.props.starredTapped || this.starredTapped
- },
- {
- 'name': 'Recents',
- 'notes': 0,
- 'icon': ,
- 'clicked': this.props.recentsTapped || this.recentsTapped
- },
- {
- 'name': 'Trash',
- 'isNotebook': true,
- 'icon': ,
- 'clicked': this.props.trashTapped || this.trashTapped
- },
- {
- 'name': 'All Notes',
- 'notes': 0,
- 'glob': '*.qvnotebook/*.qvnote',
- 'icon': ,
- 'clicked': this.props.allNotesTapped || this.allNotesTapped
- }
- ]
-
- this.loadDefaultNotebooks()
this.getNotebooks()
const { store } = this.context
store.subscribe(this.stateChanged)
}
- loadDefaultNotebooks = () => {
- var notebooks = this.navItems
- for(var i=0; i {
var dataPath = utils.getAppDataPath()
var notebooks = glob.sync(path.join(dataPath, '!(Entries|Trash).qvnotebook'))