diff --git a/crates/nu_plugin_selector/src/selector.rs b/crates/nu_plugin_selector/src/selector.rs index 8fc2e482f3..8f58d67fe8 100644 --- a/crates/nu_plugin_selector/src/selector.rs +++ b/crates/nu_plugin_selector/src/selector.rs @@ -35,7 +35,7 @@ impl Default for Selector { } pub fn begin_selector_query(input_html: String, selector: &Selector) -> Vec { - if selector.as_table.is_some() { + if !selector.as_table.value.is_string() { retrieve_tables(input_html.as_str(), &selector.as_table, selector.inspect) } else { match selector.attribute.is_empty() {