diff --git a/wherehows-web/app/constants/dataset-compliance.ts b/wherehows-web/app/constants/dataset-compliance.ts index 6c4c241bf7..d3ab73f5cb 100644 --- a/wherehows-web/app/constants/dataset-compliance.ts +++ b/wherehows-web/app/constants/dataset-compliance.ts @@ -180,7 +180,7 @@ const getIdTypeDataTypes = (complianceDataTypes: Array = [] const isRecentSuggestion = ( policyModificationTime: IComplianceInfo['modifiedTime'], suggestionModificationTime: number -) => +): boolean => // policy has not been modified previously or suggestion mod time is greater than or equal to interval !policyModificationTime || (!!suggestionModificationTime && diff --git a/wherehows-web/app/templates/components/auto-suggest-action.hbs b/wherehows-web/app/templates/components/auto-suggest-action.hbs index 5496283272..ab07bdf799 100644 --- a/wherehows-web/app/templates/components/auto-suggest-action.hbs +++ b/wherehows-web/app/templates/components/auto-suggest-action.hbs @@ -1,15 +1,6 @@ {{#if (eq type "accept")}} - - - - - + {{else}} - - - - - + {{/if}}