mirror of
https://github.com/we-promise/sure.git
synced 2026-04-23 22:14:08 +00:00
Show UI warning to user when they need provider data but have not setup Synth yet (#1926)
* Simplify provider concerns * Update tests * Add UI warning for missing Synth key if family requires external data
This commit is contained in:
@@ -3,7 +3,7 @@ class SecuritiesController < ApplicationController
|
||||
query = params[:q]
|
||||
return render json: [] if query.blank? || query.length < 2 || query.length > 100
|
||||
|
||||
@securities = Security.search({
|
||||
@securities = Security.search_provider({
|
||||
search: query,
|
||||
country: params[:country_code] == "US" ? "US" : nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user