Skip to content

Commit 1af94ca

Browse files
committed
Bug 1993863 - Don't show import message when import is disabled via policy. r=kcochrane,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D270680
1 parent 63d8614 commit 1af94ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎browser/components/firefoxview/history.mjs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ class HistoryInView extends ViewPage {
219219
return (
220220
this.profileAge < 8 &&
221221
!this.hasImportedHistoryPref &&
222-
!this.importHistoryDismissedPref
222+
!this.importHistoryDismissedPref &&
223+
Services.policies.isAllowed("profileImport")
223224
);
224225
}
225226

0 commit comments

Comments
 (0)