Browse Source

fix

pull/347/head
yystopf 1 year ago
parent
commit
62eeda7007
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/projects/actions/actions_controller.rb

+ 1
- 1
app/controllers/api/v1/projects/actions/actions_controller.rb View File

@@ -10,7 +10,7 @@ class Api::V1::Projects::Actions::ActionsController < Api::V1::Projects::Actions
@result = []
@files.map{|i|i['name']}.each do |file|
if @workflows.present?
next !@workflows.include?(file)
next if !@workflows.include?(file)
end
last_action_run = @action_runs.where(workflow_id: file).order(updated: :desc).first
last_action_run_json = last_action_run.present? ? {


Loading…
Cancel
Save