0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-19 19:08:54 +02:00
This commit is contained in:
Lunny Xiao 2025-10-28 12:15:59 -07:00
parent 0b41bfa135
commit 984d4b0a3b
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -177,11 +177,11 @@ export function createWorkflowStore(props: any) {
if (!store.selectedWorkflow) return;
// Validate: at least one action must be configured
const hasAtLeastOneAction = !!(
const hasAtLeastOneAction = Boolean(
store.workflowActions.column ||
store.workflowActions.add_labels.length > 0 ||
store.workflowActions.remove_labels.length > 0 ||
store.workflowActions.issue_state
store.workflowActions.issue_state,
);
if (!hasAtLeastOneAction) {