You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Web: Show sync wizard on first start (#13470)
This commit is contained in:
@@ -488,6 +488,14 @@ const buildStartupTasks = (
|
||||
|
||||
// await printTestData();
|
||||
});
|
||||
addTask('buildStartupTasks/optionally show sync wizard', async () => {
|
||||
if (Setting.value('sync.wizard.autoShowOnStartup') && Setting.value('sync.target') === 0) {
|
||||
dispatch({
|
||||
type: 'SYNC_WIZARD_VISIBLE_CHANGE',
|
||||
visible: true,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return startupTasks;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user