From 335a3846bca46dc8c1cae9ad41a44f07cdf22dfe Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Wed, 26 Jun 2024 18:01:49 -0400 Subject: [PATCH] fix: show date cell in submissions and grants tables --- app/controllers/grants/detail.js | 2 +- app/controllers/grants/index.js | 6 +++--- app/controllers/submissions/index.js | 4 ++-- app/templates/grants/detail.hbs | 1 + app/templates/grants/index.hbs | 1 + app/templates/submissions/index.hbs | 1 + 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/controllers/grants/detail.js b/app/controllers/grants/detail.js index b5e6d192..d8d955cf 100644 --- a/app/controllers/grants/detail.js +++ b/app/controllers/grants/detail.js @@ -40,7 +40,7 @@ export default class GrantDetailsController extends Controller { propertyName: 'submittedDate', title: 'Submitted Date', className: 'date-column', - component: 'date-cell', + component: 'dateCell', }, { propertyName: 'submissionStatus', diff --git a/app/controllers/grants/index.js b/app/controllers/grants/index.js index 6ac29319..101b3931 100644 --- a/app/controllers/grants/index.js +++ b/app/controllers/grants/index.js @@ -51,14 +51,14 @@ export default class GrantsIndexController extends Controller { title: 'Start', disableFiltering: true, className: 'date-column', - component: 'date-cell', + component: 'dateCell', }, { propertyName: 'grant.endDate', title: 'End', disableFiltering: true, className: 'date-column', - component: 'date-cell', + component: 'dateCell', }, { propertyName: 'grant.awardStatus', @@ -100,7 +100,7 @@ export default class GrantsIndexController extends Controller { title: 'End Date', disableFiltering: true, className: 'date-column', - component: 'date-cell', + component: 'dateCell', }, { propertyName: 'submissions.length', diff --git a/app/controllers/submissions/index.js b/app/controllers/submissions/index.js index 3c056ba2..00f81f29 100644 --- a/app/controllers/submissions/index.js +++ b/app/controllers/submissions/index.js @@ -66,7 +66,7 @@ export default class SubmissionsIndex extends Controller { propertyName: 'submittedDate', title: 'Submitted Date', className: 'date-column', - component: 'date-cell', + component: 'dateCell', }, { propertyName: 'submissionStatus', @@ -107,7 +107,7 @@ export default class SubmissionsIndex extends Controller { propertyName: 'submittedDate', title: 'Submitted Date', className: 'date-column', - component: 'date-cell', + component: 'dateCell', }, { propertyName: 'submissionStatus', diff --git a/app/templates/grants/detail.hbs b/app/templates/grants/detail.hbs index d19322de..c5cf2026 100644 --- a/app/templates/grants/detail.hbs +++ b/app/templates/grants/detail.hbs @@ -94,6 +94,7 @@ submissionsStatusCell=(component "submissions-status-cell") submissionsRepoidCell=(component "submissions-repoid-cell") submissionActionCell=(component "submission-action-cell") + dateCell=(component "date-cell") }} @themeInstance={{this.themeInstance}} @showColumnsDropdown={{false}} diff --git a/app/templates/grants/index.hbs b/app/templates/grants/index.hbs index 85125836..0a329768 100644 --- a/app/templates/grants/index.hbs +++ b/app/templates/grants/index.hbs @@ -25,6 +25,7 @@ piListCell=(component "pi-list-cell") grantSubmissionCell=(component "grant-submission-cell") grantActionCell=(component "grant-action-cell") + dateCell=(component "date-cell") }} @themeInstance={{this.themeInstance}} @showColumnsDropdown={{false}} diff --git a/app/templates/submissions/index.hbs b/app/templates/submissions/index.hbs index 6ddde4b4..5a0f6a33 100644 --- a/app/templates/submissions/index.hbs +++ b/app/templates/submissions/index.hbs @@ -34,6 +34,7 @@ submissionsStatusCell=(component "submissions-status-cell") submissionsRepoidCell=(component "submissions-repoid-cell") submissionActionCell=(component "submission-action-cell") + dateCell=(component "date-cell") }} @themeInstance={{this.themeInstance}} @showColumnsDropdown={{false}}