Skip to content

Commit e00a6d9

Browse files
committed
Code review feedback
1 parent 80788f0 commit e00a6d9

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-history-list/draft-history-entry/draft-history-entry.component.ts

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -274,26 +274,16 @@ export class DraftHistoryEntryComponent {
274274
return this.activatedProjectService.projectDoc?.data?.translateConfig.draftConfig.usfmConfig != null;
275275
}
276276

277-
get timeframeForSelectFormatNotice(): boolean {
278-
return Date.now() < this.showSelectFormatNoticeExpireDate.getTime();
279-
}
280-
281-
private _isLatestBuild: boolean = false;
282-
@Input() set isLatestBuild(value: boolean) {
283-
this._isLatestBuild = value;
284-
}
285-
286-
get isLatestBuild(): boolean {
287-
return this._isLatestBuild;
288-
}
289-
277+
@Input() isLatestBuild: boolean = false;
290278
trainingConfigurationOpen = false;
291279

292280
readonly columnsToDisplay: string[] = ['scriptureRange', 'source', 'target'];
293281

294282
private readonly showSelectFormatNoticeExpireDate = new Date('2025-12-01T12:00:00.000Z');
295283
private dataFileQuery?: RealtimeQuery<TrainingDataDoc>;
296284

285+
readonly timeframeForSelectFormatNotice: boolean = Date.now() < this.showSelectFormatNoticeExpireDate.getTime();
286+
297287
constructor(
298288
readonly i18n: I18nService,
299289
private readonly projectService: SFProjectService,

0 commit comments

Comments
 (0)