Show email settings for non-caas

This is because people can use route53/DO now and we can show them
the RDNS settings as well.
This commit is contained in:
Girish Ramakrishnan
2017-03-09 14:34:20 -08:00
parent 81313d1c40
commit 9dd0518c00
2 changed files with 10 additions and 10 deletions

View File

@@ -74,12 +74,12 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
Client.getDnsConfig(function (error, result) {
if (error) return console.error(error);
if (result.provider !== 'manual' && result.provider !== 'noop') return;
if (result.provider === 'caas') return;
Client.getExpectedDnsRecords(function (error, result) {
if (error) return console.error(error);
if (!result.spf.status || !result.dkim.status) {
if (!result.spf.status || !result.dkim.status || !result.ptr.status) {
var actionScope = $scope.$new(true);
actionScope.action = '/#/settings';