chayns-api 1.0.79 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -597,14 +597,14 @@ class AppWrapper {
|
|
|
597
597
|
callback: ({
|
|
598
598
|
colorMode
|
|
599
599
|
}) => {
|
|
600
|
-
|
|
600
|
+
this.values.site = {
|
|
601
601
|
...this.values.site,
|
|
602
602
|
colorMode
|
|
603
603
|
};
|
|
604
604
|
document.dispatchEvent(new CustomEvent('chayns_api_data', {
|
|
605
605
|
detail: {
|
|
606
606
|
type: 'site',
|
|
607
|
-
value: site
|
|
607
|
+
value: this.values.site
|
|
608
608
|
}
|
|
609
609
|
}));
|
|
610
610
|
},
|
|
@@ -596,14 +596,14 @@ export class AppWrapper {
|
|
|
596
596
|
let {
|
|
597
597
|
colorMode
|
|
598
598
|
} = _ref2;
|
|
599
|
-
|
|
599
|
+
this.values.site = {
|
|
600
600
|
...this.values.site,
|
|
601
601
|
colorMode
|
|
602
602
|
};
|
|
603
603
|
document.dispatchEvent(new CustomEvent('chayns_api_data', {
|
|
604
604
|
detail: {
|
|
605
605
|
type: 'site',
|
|
606
|
-
value: site
|
|
606
|
+
value: this.values.site
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
},
|