diff --git a/src/components/App.js b/src/components/App.js index 85a984d832f977ababde0e6337c22891a8e37138..a864d612e6aad5042da959ef37642450a9937442 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -75,6 +75,8 @@ function App(){ const shouldCheckForUpdates = !updateCheckedAt || (updateCheckedAt + updateCheckAfter) < new Date().getTime(); if (shouldCheckForUpdates) ocsApiState.ocsManagerApi.send('UpdateHandler::checkAll', []); setAppInfo(); + }).then(() => { + subscribeToOcsApiCallback(); }); }