fix: app upgrade should not overwrite the activation status of plugins (#1610)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1610
This commit is contained in:
parent
388172e098
commit
8ea5aabff4
@ -191,9 +191,8 @@ export class PresetTachyBase extends Plugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const name = plugin[0];
|
const name = plugin[0];
|
||||||
const enabled = plugin[2];
|
|
||||||
const packageJson = await this.getPackageJson(name);
|
const packageJson = await this.getPackageJson(name);
|
||||||
plugins.push({ name, packageName: packageJson.name, version: packageJson.version, enabled });
|
plugins.push({ name, packageName: packageJson.name, version: packageJson.version });
|
||||||
}
|
}
|
||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user