mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
refac
This commit is contained in:
@@ -31,12 +31,14 @@
|
||||
}
|
||||
|
||||
const updateValue = () => {
|
||||
if (_value !== value) {
|
||||
_value = value;
|
||||
if (codeEditor) {
|
||||
codeEditor.dispatch({
|
||||
changes: [{ from: 0, to: codeEditor.state.doc.length, insert: _value }]
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export let id = '';
|
||||
|
||||
Reference in New Issue
Block a user