1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Desktop, CLI: Added option to disable creation of welcome items

This commit is contained in:
Laurent Cozic
2019-05-12 01:10:46 +01:00
parent 9c85bc2cd1
commit 553a26eb63
4 changed files with 15 additions and 1 deletions

View File

@@ -60,6 +60,11 @@ class WelcomeUtils {
}
static async install(dispatch) {
if (!Setting.value('welcome.enabled')) {
Setting.setValue('welcome.wasBuilt', true);
return;
}
if (!Setting.value('welcome.wasBuilt')) {
const result = await WelcomeUtils.createWelcomeItems();
Setting.setValue('welcome.wasBuilt', true);