Correctly show/hide publicLinkDisplay after changing dictionaries
This commit is contained in:
parent
546c82996e
commit
ec42aa3778
|
@ -38,6 +38,7 @@ export function performSync(remoteDictionary) {
|
|||
if (success) {
|
||||
renderAll();
|
||||
document.getElementById('accountSettingsChangeDictionary').value = window.currentDictionary.externalID;
|
||||
document.getElementById('publicLinkDisplay').style.display = window.currentDictionary.settings.isPublic ? '' : 'none';
|
||||
} else {
|
||||
console.error('word sync failed');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue