app/helpers/application_helper/button/log_depot_edit.rb
class ApplicationHelper::Button::LogDepotEdit < ApplicationHelper::Button::Basic
include ApplicationHelper::Button::Mixins::ActiveContextMixin
def visible?
active_tree?(:diagnostics_tree) && active_tab?('diagnostics_collect_logs')
end
end