Merged PR 2295: resolved lint warnings
resolved lint warnings Related work items: #22873
This commit is contained in:
@@ -150,6 +150,11 @@ export const loadExistingRepresentation = async ({ store, ctx, bootstrap }) => {
|
||||
|
||||
console.log("is lpa?:", isLPA);
|
||||
|
||||
const searchResultsObj = await getBasicSearch(query.case);
|
||||
const searchDetailsObj = await getSearchDetails(searchResultsObj);
|
||||
|
||||
store.dispatch(setSearchResults(searchResultsObj));
|
||||
store.dispatch(setSearchDetails(searchDetailsObj));
|
||||
store.dispatch(setContainerID(thisSession.user.id));
|
||||
store.dispatch(setMyRepresentations(myRepresentations));
|
||||
store.dispatch(setMyRepresentationsDetails(myRepresentationsDetails));
|
||||
@@ -166,7 +171,6 @@ export const loadExistingRepresentation = async ({ store, ctx, bootstrap }) => {
|
||||
|
||||
store.dispatch(
|
||||
setCurrentReference({
|
||||
"statuscode": result.statuscode,
|
||||
"ticketnumber":
|
||||
result.ticketnumber || result.caseRef || result.pinswg_name,
|
||||
"currentReference": result.caseRef,
|
||||
@@ -181,7 +185,7 @@ export const loadExistingRepresentation = async ({ store, ctx, bootstrap }) => {
|
||||
store.dispatch(setRepresentationCapacity(result.representationCapacity));
|
||||
|
||||
const repsFileListObj = await getRepsFilesBlobs(
|
||||
result.containerID,
|
||||
result.containerID || thisSession.user.id,
|
||||
result.ticketnumber || result.caseRef,
|
||||
result.repfile_name
|
||||
);
|
||||
@@ -224,8 +228,6 @@ export const loadNewRepresentation = async ({ store, ctx, bootstrap }) => {
|
||||
|
||||
store.dispatch(
|
||||
setCurrentReference({
|
||||
"statuscode": searchResultsObj.value[0].statuscode,
|
||||
|
||||
"isNRW":
|
||||
accountDetails.emailaddress1.includes(process.env.NRWDOMAIN) ||
|
||||
false,
|
||||
|
||||
Reference in New Issue
Block a user