CI: add TS indentation check via esLint (#24810)

This commit is contained in:
Yongtao Huang 2025-09-01 15:31:59 +08:00 committed by GitHub
commit 208ce4e774
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
118 changed files with 457 additions and 489 deletions

View file

@ -18,7 +18,7 @@ const Empty: FC = () => {
href='https://docs.dify.ai/en/guides/workflow/debug-and-preview/variable-inspect'
target='_blank'
rel='noopener noreferrer'>
{t('workflow.debug.variableInspect.emptyLink')}
{t('workflow.debug.variableInspect.emptyLink')}
</a>
</div>
</div>

View file

@ -16,15 +16,15 @@ const VariableInspectPanel: FC = () => {
const setVariableInspectPanelHeight = useStore(s => s.setVariableInspectPanelHeight)
const maxHeight = useMemo(() => {
if (!workflowCanvasHeight)
return 480
return workflowCanvasHeight - 60
}, [workflowCanvasHeight])
if (!workflowCanvasHeight)
return 480
return workflowCanvasHeight - 60
}, [workflowCanvasHeight])
const handleResize = useCallback((width: number, height: number) => {
localStorage.setItem('workflow-variable-inpsect-panel-height', `${height}`)
setVariableInspectPanelHeight(height)
}, [setVariableInspectPanelHeight])
}, [setVariableInspectPanelHeight])
const {
triggerRef,