mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
filter: Use terms instead of operands.
Operand is a confusing name because this data structure has an attribute *called* operand. This commit renames references to this structure to "term", short for "search term".
This commit is contained in:
@@ -56,7 +56,7 @@ export function respond_to_message(opts) {
|
||||
return;
|
||||
}
|
||||
const current_filter = narrow_state.filter();
|
||||
const first_term = current_filter.operators()[0];
|
||||
const first_term = current_filter.terms()[0];
|
||||
const first_operator = first_term.operator;
|
||||
const first_operand = first_term.operand;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user