Merged PR 2442: remove lodash dependecies on _.has
Related work items: #23754
This commit is contained in:
@@ -5,7 +5,7 @@ import { useRouter } from "next/router";
|
||||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
import { connect } from "react-redux";
|
||||
import transLookup from "../../../data/lookuptranslations.json";
|
||||
import { formatDates, getDocLink } from "../../utils";
|
||||
import { formatDates, getDocLink, hasOwn } from "../../utils";
|
||||
import PaginationControl from "../../../components/case/pagination";
|
||||
import DocumentLink from "../../utils/downloads";
|
||||
import { useDownloadQueue } from "../../utils/downloadmanager";
|
||||
@@ -754,7 +754,7 @@ const DocumentsTab = (props) => {
|
||||
// )}
|
||||
// :
|
||||
// </span>
|
||||
// {_.has(
|
||||
// {hasOwn(
|
||||
// detailsObj,
|
||||
// "pinswg_name"
|
||||
// )
|
||||
@@ -789,7 +789,7 @@ const DocumentsTab = (props) => {
|
||||
)}
|
||||
:
|
||||
</span>
|
||||
{_.has(
|
||||
{hasOwn(
|
||||
detailsObj,
|
||||
"pinswg_name"
|
||||
)
|
||||
@@ -805,7 +805,7 @@ const DocumentsTab = (props) => {
|
||||
)}
|
||||
:
|
||||
</span>
|
||||
{_.has(
|
||||
{hasOwn(
|
||||
detailsObj,
|
||||
"pinswg_name"
|
||||
)
|
||||
@@ -848,7 +848,7 @@ const DocumentsTab = (props) => {
|
||||
:
|
||||
</span>
|
||||
|
||||
{_.has(
|
||||
{hasOwn(
|
||||
detailsObj,
|
||||
"createdon"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user