Update custom_workflow.rb

Add member to the observable list
This commit is contained in:
mantykora-net 2023-10-05 13:26:18 +02:00 committed by GitHub
parent e0b602a9e0
commit 896ec1e5e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,12 +21,12 @@
# Custom workflow model # Custom workflow model
class CustomWorkflow < ApplicationRecord class CustomWorkflow < ApplicationRecord
OBSERVABLES = %i[issue issue_relation issue_attachments user attachment group group_users project project_attachments OBSERVABLES = %i[issue issue_relation issue_attachments user member attachment group group_users project project_attachments
wiki_content wiki_page_attachments time_entry version shared].freeze wiki_content wiki_page_attachments time_entry version shared].freeze
PROJECT_OBSERVABLES = %i[issue issue_attachments project project_attachments wiki_content wiki_page_attachments PROJECT_OBSERVABLES = %i[issue issue_attachments project project_attachments wiki_content wiki_page_attachments
time_entry version].freeze time_entry version].freeze
COLLECTION_OBSERVABLES = %i[group_users issue_attachments project_attachments wiki_page_attachments].freeze COLLECTION_OBSERVABLES = %i[group_users issue_attachments project_attachments wiki_page_attachments].freeze
SINGLE_OBSERVABLES = %i[issue issue_relation user group attachment project wiki_content time_entry version].freeze SINGLE_OBSERVABLES = %i[issue issue_relation user member group attachment project wiki_content time_entry version].freeze
acts_as_list acts_as_list