Commit 476cac68 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Do not check availability of the FF on a namespace

parent 5bf071c3
......@@ -53,7 +53,7 @@ module EE
end
def show_extend_reactivate_trial_button?(namespace)
return false unless ::Feature.enabled?(:allow_extend_reactivate_trial, namespace, default_enabled: :yaml)
return false unless ::Feature.enabled?(:allow_extend_reactivate_trial, default_enabled: :yaml)
namespace.can_extend_trial? || namespace.can_reactivate_trial?
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment