@electerm/electerm-react 3.15.125 → 3.15.126
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.
|
@@ -112,11 +112,7 @@ export const defaultAIPresets = [
|
|
|
112
112
|
export function getAIPresets () {
|
|
113
113
|
const presets = [...defaultAIPresets]
|
|
114
114
|
if (window.et?.defaultAIPreset) {
|
|
115
|
-
presets.unshift(
|
|
116
|
-
...window.et.defaultAIPreset,
|
|
117
|
-
id: 'default',
|
|
118
|
-
nameAI: window.translate('default')
|
|
119
|
-
})
|
|
115
|
+
presets.unshift(window.et.defaultAIPreset)
|
|
120
116
|
}
|
|
121
117
|
return presets
|
|
122
118
|
}
|