exchange broker options
This commit is contained in:
@@ -198,6 +198,8 @@ impl BuilderForm {
|
||||
pub(crate) struct AddTablePageState {
|
||||
pub nav: crate::ui::Nav,
|
||||
pub profiles: Vec<String>,
|
||||
/// Provider IDs returned by ExchangeRateService.ListRateSources.
|
||||
pub rate_sources: Vec<String>,
|
||||
/// The profile a global table lands in, as the profile tree reports it.
|
||||
/// The builder posts it as the created table's scope.
|
||||
pub shared_profile: String,
|
||||
@@ -511,6 +513,7 @@ mod tests {
|
||||
nav: crate::ui::Nav::default(),
|
||||
shared_profile: "__global".to_string(),
|
||||
profiles: Vec::new(),
|
||||
rate_sources: vec!["ecb".to_string()],
|
||||
draft: posted_form().to_draft(),
|
||||
status: None,
|
||||
error: None,
|
||||
@@ -597,6 +600,7 @@ mod tests {
|
||||
nav: crate::ui::Nav::default(),
|
||||
shared_profile: "__global".to_string(),
|
||||
profiles: Vec::new(),
|
||||
rate_sources: vec!["ecb".to_string()],
|
||||
draft,
|
||||
status: None,
|
||||
error: None,
|
||||
|
||||
Reference in New Issue
Block a user