From fbb29a4bf84c18ceb597f3452638401a50e9d598 Mon Sep 17 00:00:00 2001 From: Pratiyush Kumar Date: Fri, 3 Nov 2023 14:27:44 +0530 Subject: [PATCH] removed the string with constant value --- app/components/task/holder.js | 18 +++++++++--------- app/styles/tasks.css | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/app/components/task/holder.js b/app/components/task/holder.js index c752b351..8eb75883 100644 --- a/app/components/task/holder.js +++ b/app/components/task/holder.js @@ -32,15 +32,15 @@ export default class TasksHolderComponent extends Component { (taskStatus) => { if (this.args.dev === true) { if ( - taskStatus.key !== 'ALL' && - taskStatus.key !== 'VERIFIED' && - taskStatus.key !== 'RELEASED' && - taskStatus.key !== 'REGRESSION_CHECK' && - taskStatus.key !== 'SANITY_CHECK' && - taskStatus.key !== 'APPROVED' && - taskStatus.key !== 'SMOKE_TESTING' && - taskStatus.key !== 'COMPLETED' && - taskStatus.key !== 'NEEDS_REVIEW' + taskStatus.key !== TASK_KEYS.ALL && + taskStatus.key !== TASK_KEYS.VERIFIED && + taskStatus.key !== TASK_KEYS.RELEASED && + taskStatus.key !== TASK_KEYS.REGRESSION_CHECK && + taskStatus.key !== TASK_KEYS.SANITY_CHECK && + taskStatus.key !== TASK_KEYS.APPROVED && + taskStatus.key !== TASK_KEYS.SMOKE_TESTING && + taskStatus.key !== TASK_KEYS.COMPLETED && + taskStatus.key !== TASK_KEYS.NEEDS_REVIEW ) { return true; } else { diff --git a/app/styles/tasks.css b/app/styles/tasks.css index 4a9b7f0c..d52dd397 100644 --- a/app/styles/tasks.css +++ b/app/styles/tasks.css @@ -204,6 +204,7 @@ #task-update:disabled { -webkit-appearance: none; -moz-appearance: none; + border: none; } .task-details__title {