Undefined
or null
showing in document root when primary domain isn't set
#171
Labels
Projects
Undefined
or null
showing in document root when primary domain isn't set
#171
If you create a new site and change the Project type before setting the primary domain, the document root will show as
/var/www/undefined
(see screenshot below).The fix is probably as simple as setting a default value of
''
for the primary domain in the Site vueX module — I don't believe it's currently set at all.There is also a similar issue where, if you load an existing "new" site that hasn't had its primary domain configured, it will show
null
in place ofundefined
in the document root. Again this is probably just a case of setting a default empty value in the store.The text was updated successfully, but these errors were encountered: