diff --git a/web/app/components/document/sidebar.hbs b/web/app/components/document/sidebar.hbs
index f0498f3cb..bf45601d3 100644
--- a/web/app/components/document/sidebar.hbs
+++ b/web/app/components/document/sidebar.hbs
@@ -318,7 +318,7 @@
- {{dateformat @document.dueDate}}
+ {{dateformat this.dueDate}}
{{else}}
@@ -597,41 +599,14 @@
- {{#if this.editingIsDisabled}}
- {{dateformat @document.dueDate}}
- {{else}}
-
- <:default>
- {{#unless (is-empty @document.dueDate)}}
-
- {{dateformat @document.dueDate}}
- {{else}}
-
- Enter due date here
- {{/unless}}
-
- <:editing as |F|>
-
-
-
- {{/if}}
+
Add Due Date
diff --git a/web/app/components/document/sidebar.ts b/web/app/components/document/sidebar.ts
index db74cc39c..bcce9512f 100644
--- a/web/app/components/document/sidebar.ts
+++ b/web/app/components/document/sidebar.ts
@@ -265,11 +265,11 @@ export default class DocumentSidebarComponent extends Component {
- this.dueDate = date;
- await this.save.perform("dueDate", this.dueDate);
- // productAbbreviation is computed by the back end
- });
+ // updateDueDate = task(async (date: string) => {
+ // this.dueDate = date;
+ // await this.save.perform("dueDate", this.dueDate);
+ // // productAbbreviation is computed by the back end
+ // });
isAllReviewersReviewed(
reviewedReviewers: string[],
@@ -527,6 +527,7 @@ export default class DocumentSidebarComponent extends Component