From 72c1ec74a5fbf7daf5858882267fc6a7e5f54293 Mon Sep 17 00:00:00 2001
From: Patrick Fic <>
Date: Thu, 6 Jan 2022 14:26:33 -0800
Subject: [PATCH] IO-1623 Production priority column width increase.
---
.../production-list-columns.bodypriority.component.jsx | 6 +++++-
.../production-list-columns.detailpriority.component.jsx | 6 +++++-
.../production-list-columns.paintpriority.component.jsx | 6 +++++-
.../production-list-table.container.jsx | 4 +---
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/client/src/components/production-list-columns/production-list-columns.bodypriority.component.jsx b/client/src/components/production-list-columns/production-list-columns.bodypriority.component.jsx
index 7c926ba71..4b5a34c70 100644
--- a/client/src/components/production-list-columns/production-list-columns.bodypriority.component.jsx
+++ b/client/src/components/production-list-columns/production-list-columns.bodypriority.component.jsx
@@ -41,7 +41,11 @@ export default function ProductionListColumnBodyPriority({ record }) {
title={t("production.actions.bodypriority-set")}
>
{new Array(15).fill().map((value, index) => (
-
{index + 1}
+
+
+ {index + 1}
+
+
))}
diff --git a/client/src/components/production-list-columns/production-list-columns.detailpriority.component.jsx b/client/src/components/production-list-columns/production-list-columns.detailpriority.component.jsx
index 2ead3ab4d..ebd88163f 100644
--- a/client/src/components/production-list-columns/production-list-columns.detailpriority.component.jsx
+++ b/client/src/components/production-list-columns/production-list-columns.detailpriority.component.jsx
@@ -41,7 +41,11 @@ export default function ProductionListColumnDetailPriority({ record }) {
title={t("production.actions.detailpriority-set")}
>
{new Array(15).fill().map((value, index) => (
- {index + 1}
+
+
+ {index + 1}
+
+
))}
diff --git a/client/src/components/production-list-columns/production-list-columns.paintpriority.component.jsx b/client/src/components/production-list-columns/production-list-columns.paintpriority.component.jsx
index f119a6665..501a625d8 100644
--- a/client/src/components/production-list-columns/production-list-columns.paintpriority.component.jsx
+++ b/client/src/components/production-list-columns/production-list-columns.paintpriority.component.jsx
@@ -41,7 +41,11 @@ export default function ProductionListColumnPaintPriority({ record }) {
title={t("production.actions.paintpriority-set")}
>
{new Array(15).fill().map((value, index) => (
- {index + 1}
+
+
+ {index + 1}
+
+
))}
diff --git a/client/src/components/production-list-table/production-list-table.container.jsx b/client/src/components/production-list-table/production-list-table.container.jsx
index 8bd4d1509..6697137cb 100644
--- a/client/src/components/production-list-table/production-list-table.container.jsx
+++ b/client/src/components/production-list-table/production-list-table.container.jsx
@@ -38,13 +38,11 @@ export default function ProductionListTableContainer() {
updatedJobs.jobs,
(a, b) => a.id === b.id && a.updated_at === b.updated_at
);
- console.log(jobDiff);
+
if (jobDiff.length > 1) {
getUpdatedJobsData(jobDiff.map((j) => j.id));
} else if (jobDiff.length === 1) {
- console.log("length was 1");
jobDiff.forEach((job) => {
- console.log("Job ", job);
getUpdatedJobData(job.id);
});
}