mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1442866 - Make the policiesStatus work on TB too. r=Felipe
This commit is contained in:
parent
d727d4abfb
commit
f40e76c04e
@ -251,7 +251,9 @@ var dataProviders = {
|
||||
data.styloChromeResult = winUtils.isStyledByServo;
|
||||
}
|
||||
|
||||
data.policiesStatus = Services.policies.status;
|
||||
if (Services.policies) {
|
||||
data.policiesStatus = Services.policies.status;
|
||||
}
|
||||
|
||||
const keyGoogle = Services.urlFormatter.formatURL("%GOOGLE_API_KEY%").trim();
|
||||
data.keyGoogleFound = keyGoogle != "no-google-api-key" && keyGoogle.length > 0;
|
||||
|
Loading…
Reference in New Issue
Block a user