0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-30 16:12:13 +02:00
This commit is contained in:
Lunny Xiao 2026-02-22 20:30:27 -08:00
parent d02e76ea86
commit 69ec135bcb
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -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) {