From 5b08b1f0112d5b04510c1d75a8d790bc69a624c4 Mon Sep 17 00:00:00 2001 From: Aaron Shafovaloff Date: Thu, 1 Feb 2024 17:52:32 -0700 Subject: [PATCH] migrate old underscore pluck to lodash map cf. https://github.com/lodash/lodash/wiki/Migrating fixes EVAL-3932 Change-Id: I32f79cc00cc00744a5622d017b255aae2f7a6c93 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/339601 Reviewed-by: Jackson Huang Tested-by: Service Cloud Jenkins QA-Review: Aaron Shafovaloff Product-Review: Aaron Shafovaloff --- ui/shared/due-dates/react/DueDateTokenWrapper.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/shared/due-dates/react/DueDateTokenWrapper.jsx b/ui/shared/due-dates/react/DueDateTokenWrapper.jsx index 0d1ec0e84e7..8af1e5cc9e4 100644 --- a/ui/shared/due-dates/react/DueDateTokenWrapper.jsx +++ b/ui/shared/due-dates/react/DueDateTokenWrapper.jsx @@ -16,7 +16,7 @@ * with this program. If not, see . */ -import {chain, debounce, find, groupBy, isEmpty, pluck, some, union} from 'lodash' +import {chain, debounce, find, map, groupBy, isEmpty, some, union} from 'lodash' import React from 'react' import PropTypes from 'prop-types' import OverrideStudentStore from './OverrideStudentStore' @@ -351,7 +351,7 @@ class DueDateTokenWrapper extends React.Component { if (this.props.disabled) { return ( // eslint-disable-next-line react/no-string-refs - + ) } const ariaLabel = I18n.t(