mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-19 19:08:54 +02:00
Fix lint
This commit is contained in:
parent
0b41bfa135
commit
984d4b0a3b
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user