mirror of
https://github.com/langgenius/dify.git
synced 2026-02-25 02:35:12 +00:00
refactor(web): make Switch controlled-only and migrate call sites (#32399)
This commit is contained in:
@@ -80,7 +80,7 @@ const Operator = ({
|
||||
<div>{t('nodes.note.editor.showAuthor', { ns: 'workflow' })}</div>
|
||||
<Switch
|
||||
size="l"
|
||||
defaultValue={showAuthor}
|
||||
value={showAuthor}
|
||||
onChange={onShowAuthorChange}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user