This commit is contained in:
Tom Moor
2019-12-23 18:12:16 -08:00
parent 76365e8560
commit 10e038be5b
2 changed files with 1 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ export default class Document extends BaseModel {
@computed
get permanentlyDeletedAt(): ?string {
if (!this.deletedAt) {
return;
return undefined;
}
return addDays(new Date(this.deletedAt), 30).toString();

View File

@@ -2,7 +2,6 @@
import * as React from 'react';
import { find } from 'lodash';
import styled from 'styled-components';
import Scrollable from 'components/Scrollable';
import Button, { Inner } from 'components/Button';
import { DropdownMenu } from 'components/DropdownMenu';
import FilterOption from './FilterOption';