don't show domain ID selection button if in master config

This commit is contained in:
Stephen Birarda 2014-10-17 12:25:23 -07:00
parent 0d99beb344
commit 1e4eaed7fd

View file

@ -204,7 +204,10 @@ function reloadSettings() {
title: 'This setting is in the master config file and cannot be changed'
})
appendDomainSelectionModal()
if (!_.has(data["locked"], "metaverse") && !_.has(data["locked"]["metaverse"], "id")) {
// append the domain selection modal, as long as it's not locked
appendDomainSelectionModal()
}
});
}