Skip to content

Commit

Permalink
use template literal for filter string
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie V. <[email protected]>
  • Loading branch information
davetsay and jvigliotta authored Nov 21, 2024
1 parent 5760464 commit 667dd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/historical/HistoricalProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ define([
const sessionFilter = sessions.getHistoricalSessionFilter();

if (sessionFilter) {
params.filter.session_id = '(' + sessionFilter.numbers.join(',') + ')';
params.filter.session_id = `(${sessionFilter.numbers.join(',')})`;
params.filter.session_host = sessionFilter.host;
} else if (window.openmctMCWSConfig?.sessions?.historicalSessionFilter?.disable !== true && window.openmctMCWSConfig?.sessions?.historicalSessionFilter?.denyUnfilteredQueries === true) {
const notificationMessage = 'Filtering by historical sessions is required for historical queries.';
Expand Down

0 comments on commit 667dd07

Please sign in to comment.