Skip to content

Commit

Permalink
removed the string with constant value
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratiyushkumar committed Nov 3, 2023
1 parent 8d16168 commit fbb29a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/components/task/holder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions app/styles/tasks.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
#task-update:disabled {
-webkit-appearance: none;
-moz-appearance: none;
border: none;
}

.task-details__title {
Expand Down

0 comments on commit fbb29a4

Please sign in to comment.