mirror of
https://github.com/go-gitea/gitea.git
synced 2026-06-30 16:12:13 +02:00
fix lint
This commit is contained in:
parent
d02e76ea86
commit
69ec135bcb
@ -411,7 +411,7 @@ export function createWorkflowStore(props: any): WorkflowStoreState {
|
||||
|
||||
// Remove workflow from the list
|
||||
const existingIndex = store.workflowEvents.findIndex((e: WorkflowEvent) => e.eventId === selected.eventId);
|
||||
if (existingIndex >= 0) {
|
||||
if (existingIndex >= 0) {
|
||||
store.workflowEvents.splice(existingIndex, 1);
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user