This commit is contained in:
StyleZhang
2024-03-18 22:02:59 +08:00
parent 7b9fbccf60
commit f61ceadec5
5 changed files with 17 additions and 7 deletions

View File

@ -79,7 +79,11 @@ const Publish = () => {
${runningStatus && 'cursor-not-allowed opacity-50'}
`}
>
{t('workflow.common.publish')}
{
published
? t('workflow.common.published')
: t('workflow.common.publish')
}
</Button>
</PortalToFollowElemTrigger>
<PortalToFollowElemContent className='z-[11]'>

View File

@ -135,7 +135,7 @@ const RunAndHistory: FC = () => {
${showRunHistory && 'bg-primary-50'}
`}
onClick={() => {
workflowStore.setState({ showRunHistory: !showRunHistory })
workflowStore.setState({ showRunHistory: !showRunHistory, workflowRunId: '' })
setCurrentLogItem()
setShowMessageLogModal(false)
}}