Feat: export recordings in one file (#1050)

* auto reconnect db

* may export & merge recordings
This commit is contained in:
an-lee
2024-09-07 19:33:00 +08:00
committed by GitHub
parent f8915815d7
commit f7d02f8edd
10 changed files with 200 additions and 13 deletions

View File

@@ -290,6 +290,7 @@ export const AppSettingsProvider = ({
// Login via API, update profile to DB
if (user.accessToken) {
EnjoyApp.userSettings.set(UserSettingKeyEnum.PROFILE, user);
createCable(user.accessToken);
} else {
// Auto login from local settings, get full profile from DB
const profile = await EnjoyApp.userSettings.get(