mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-30 19:43:39 +00:00
context menu updated + validate domain
This commit is contained in:
@@ -22,7 +22,7 @@ function addDomain() {
|
||||
request(checkDomain, function (error, response, body) {
|
||||
if (!error && response.statusCode !== 404) {
|
||||
document.getElementById('urladded').innerHTML = newDomain + ' Added';
|
||||
db.push('/domain', newDomain);
|
||||
db.push('/domain', domain);
|
||||
ipcRenderer.send('new-domain', domain);
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user