store subdomain in database instead of fqdn

this makes it more consistent with the locations table
This commit is contained in:
Girish Ramakrishnan
2023-08-16 19:28:04 +05:30
parent 1133a41b77
commit de7879afb5
9 changed files with 57 additions and 38 deletions

View File

@@ -3736,7 +3736,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
return 'Certificate(s) of ' + data.domains.join(',') + ' was cleaned up since they expired 6 months ago';
case ACTION_DASHBOARD_DOMAIN_UPDATE:
return 'Dashboard domain set to ' + data.fqdn;
return 'Dashboard domain set to ' + data.fqdn || (data.subdomain + '.' + data.domain);
case ACTION_DOMAIN_ADD:
return 'Domain ' + data.domain + ' with ' + data.provider + ' provider was added';