Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dkapell-delphix committed Nov 29, 2021
1 parent 7f4fa54 commit b55bce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion routes/reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function listReport(req, res){
if (req.query.export){
const data = [['Event', 'Type', 'Run', 'Room(s)', 'Modified', 'Request Entered']];
_.sortBy(runs, 'starts_at').forEach(function(run){
if (run.event.category === 'Volunteer event' && run.event.title.match(/^Ops$/i) { return; }
if (run.event.category === 'Volunteer event' && run.event.title.match(/^Ops$/i)) { return; }
data.push([
run.event.title,
furnitureHelper.humanize(run.event.category),
Expand Down
2 changes: 1 addition & 1 deletion views/reports/list.pug
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ block content
th(style='min-width:132px') Request Entered
tbody
for run in runs
if !(run.event.category === 'Volunteer event' && run.event.title.match(/^Ops$/i)
if !(run.event.category === 'Volunteer event' && run.event.title.match(/^Ops$/i))
tr(
data-click-object='requests'
data-click-id=run.event.id+'/'+run.id
Expand Down

0 comments on commit b55bce8

Please sign in to comment.