mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
feat: add loading state to Publish button during workflow publishing
Leverage React Query mutation's isPending to disable the Publish button, header trigger, and keyboard shortcut while a publish is in progress, preventing duplicate submissions even when the menu is closed and reopened.
This commit is contained in:
@ -223,6 +223,7 @@
|
||||
"common.publishUpdate": "Publish Update",
|
||||
"common.published": "Published",
|
||||
"common.publishedAt": "Published",
|
||||
"common.publishing": "Publishing...",
|
||||
"common.redo": "Redo",
|
||||
"common.restart": "Restart",
|
||||
"common.restore": "Restore",
|
||||
|
||||
Reference in New Issue
Block a user