Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove description field from tabular and Kanban view #215

Merged
merged 1 commit into from
Jan 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions src/pages/Dashboard/DashboardConstants.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import moment from 'moment-timezone';
import parse from 'html-react-parser';
import { Link } from '@mui/material';
import { OpenInNew as OpenInNewIcon } from '@mui/icons-material';

Expand All @@ -15,16 +14,6 @@ export const featureColumns = [
customBodyRender: (value) => value || '-',
},
},
{
name: 'description',
label: 'Description',
options: {
sort: true,
sortThirdClickReset: true,
filter: true,
customBodyRender: (value) => ((value && parse(value)) || '-'),
},
},
{
name: 'priority',
label: 'Priority',
Expand Down Expand Up @@ -86,22 +75,6 @@ export const issueColumns = [
customBodyRender: (value) => value || '-',
},
},
{
name: 'description',
label: 'Description',
options: {
sort: true,
sortThirdClickReset: true,
filter: true,
setCellProps: (value) => ({
style: { maxWidth: 500 },
}),
setCellHeaderProps: (value) => ({
style: { maxWidth: 500 },
}),
customBodyRender: (value) => ((value && parse(value)) || '-'),
},
},
{
name: 'issue_type',
label: 'Type',
Expand Down