You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-12 22:57:38 +02:00
Started config screen
This commit is contained in:
@ -20,6 +20,7 @@ import { ItemList } from 'lib/components/item-list.js'
|
||||
import { NotesScreen } from 'lib/components/screens/notes.js'
|
||||
import { NotesScreenUtils } from 'lib/components/screens/notes-utils.js'
|
||||
import { NoteScreen } from 'lib/components/screens/note.js'
|
||||
import { ConfigScreen } from 'lib/components/screens/config.js'
|
||||
import { FolderScreen } from 'lib/components/screens/folder.js'
|
||||
import { FoldersScreen } from 'lib/components/screens/folders.js'
|
||||
import { LogScreen } from 'lib/components/screens/log.js'
|
||||
@ -409,6 +410,11 @@ async function initialize(dispatch, backButtonHandler) {
|
||||
let folderId = Setting.value('activeFolderId');
|
||||
let folder = await Folder.load(folderId);
|
||||
|
||||
// dispatch({
|
||||
// type: 'Navigation/NAVIGATE',
|
||||
// routeName: 'Config',
|
||||
// });
|
||||
|
||||
if (folder) {
|
||||
await NotesScreenUtils.openNoteList(folderId);
|
||||
} else {
|
||||
@ -490,6 +496,7 @@ class AppComponent extends React.Component {
|
||||
Log: { screen: LogScreen },
|
||||
Status: { screen: StatusScreen },
|
||||
Search: { screen: SearchScreen },
|
||||
Config: { screen: ConfigScreen },
|
||||
};
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user