Fix history imports (#3595)
This commit is contained in:
@@ -690,7 +690,7 @@ export default defineComponent({
|
||||
|
||||
response.filePaths.forEach(filePath => {
|
||||
if (filePath.endsWith('.db')) {
|
||||
this.importFreeTubeSubscriptions(textDecode.split('\n'))
|
||||
this.importFreeTubeHistory(textDecode.split('\n'))
|
||||
} else if (filePath.endsWith('.json')) {
|
||||
this.importYouTubeHistory(JSON.parse(textDecode))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user