mirror of https://github.com/zulip/zulip.git
Make sure then_select_id is a number to call .toFixed()
(imported from commit 58635110c737ccb38e74cce8b4feb5d93dfbf5cc)
This commit is contained in:
parent
a82bc689e8
commit
1fdb586c13
|
@ -149,11 +149,11 @@ exports.activate = function (operators, opts) {
|
|||
trigger: 'unknown'
|
||||
});
|
||||
if (filter.has_operator("near")) {
|
||||
opts.then_select_id = filter.operands("near")[0];
|
||||
opts.then_select_id = parseInt(filter.operands("near")[0], 10);
|
||||
opts.select_first_unread = false;
|
||||
}
|
||||
if (filter.has_operator("id")) {
|
||||
opts.then_select_id = filter.operands("id")[0];
|
||||
opts.then_select_id = parseInt(filter.operands("id")[0], 10);
|
||||
opts.select_first_unread = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue