fix: set desktop installed payload source

This commit is contained in:
Mo
2022-01-02 09:30:33 -06:00
parent 1f0f361d8b
commit dce97077b4
3 changed files with 9 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import {
ApplicationEvent,
removeFromArray,
DesktopManagerInterface,
PayloadSource,
} from '@standardnotes/snjs';
import { WebApplication } from '@/ui_models/application';
@@ -149,7 +150,9 @@ export class DesktopManager
mutator.package_info = componentData.content.package_info;
mutator.setAppDataItem(AppDataField.ComponentInstallError, undefined);
}
}
},
undefined,
PayloadSource.DesktopInstalled
);
this.$timeout(() => {

View File

@@ -89,7 +89,7 @@
"@reach/tooltip": "^0.16.2",
"@standardnotes/features": "1.20.3",
"@standardnotes/sncrypto-web": "1.5.3",
"@standardnotes/snjs": "2.31.18",
"@standardnotes/snjs": "2.31.19",
"mobx": "^6.3.5",
"mobx-react-lite": "^3.2.2",
"preact": "^10.5.15",

View File

@@ -2655,10 +2655,10 @@
buffer "^6.0.3"
libsodium-wrappers "^0.7.9"
"@standardnotes/snjs@2.31.18":
version "2.31.18"
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.31.18.tgz#657d5c22d82b43bfecf5b3156bd2fd07c8f752b0"
integrity sha512-IfOVlMXLEZNsFa+H8dBSQLdR4+Jyxp9khmW5ALlgzEGHgL1d4xln5GVBSdUfR3oajbzhSnic5T0e5UuBxbKxqA==
"@standardnotes/snjs@2.31.19":
version "2.31.19"
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.31.19.tgz#62131a440ab4d335027d1b0735893eb3ae42728f"
integrity sha512-70AxuiQtoWcauMc89Xu28fyaUp3wShMq4pqu0dAELknDrrPQPc/g9Uu5eM9HPT2tVPYXLOJniD6wls5REexmEg==
dependencies:
"@standardnotes/auth" "3.8.1"
"@standardnotes/common" "1.2.1"