       event: event
       url: "/api/v1/project/#{@project_name()}/enable"
       success: (data) =>
-        @has_deploy_key(data.has_deploy_key)
+        @has_usable_key(data.has_usable_key)
 
   follow_and_maybe_visit: (data, event) =>
     callback = (data) =>

            @billing.trial_days() < 15 # we probably hacked the db here

    @show_enable_project_notice = @komp =>
       !@has_deploy_key()

    @show_build_page_trial_notice = @komp =>
      @show_trial_notice() &&

    loading_billing: false
    users: []
    parallel: 1
    has_usable_key: true
    retried_build: null
    branches: null
    default_branch: null
