resolve conflict of preferences-registry #8511
This commit is contained in:
parent
c28758ee17
commit
b3ccfa8671
|
@ -187,7 +187,7 @@ function loadFile() {
|
||||||
async function applyRegistry(id: string) {
|
async function applyRegistry(id: string) {
|
||||||
if (!registries) return;
|
if (!registries) return;
|
||||||
|
|
||||||
const registry = registries[id];
|
const registry = structuredClone(registries[id]);
|
||||||
|
|
||||||
const { canceled: cancel1 } = await os.confirm({
|
const { canceled: cancel1 } = await os.confirm({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
|
|
Loading…
Reference in New Issue