1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-06 23:56:13 +02:00

Desktop: Fixes #9725: Fix warning logged when uninstalling multiple plugins (#9726)

This commit is contained in:
Henry Heino
2024-01-18 03:24:44 -08:00
committed by GitHub
parent bdc970d718
commit d8d0e705f2
2 changed files with 31 additions and 2 deletions

View File

@ -505,7 +505,7 @@ export default class PluginService extends BaseService {
for (const pluginId in settings) {
if (settings[pluginId].deleted) {
await this.uninstallPlugin(pluginId);
newSettings = { ...settings };
newSettings = { ...newSettings };
delete newSettings[pluginId];
}
}