fix removing circles from nav bar when disabled
parent
895b4fe4fd
commit
fcfecaff7e
|
@ -54,10 +54,9 @@ def add_peer(peerID, name=''):
|
|||
|
||||
return True
|
||||
|
||||
|
||||
def add_address(address):
|
||||
"""
|
||||
Add an address to the address database (only tor currently)
|
||||
"""
|
||||
"""Add an address to the address database (only tor currently)"""
|
||||
|
||||
if type(address) is None or len(address) == 0:
|
||||
return False
|
||||
|
|
|
@ -20,6 +20,7 @@ from coredb.keydb.listkeys import list_adders
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
|
||||
def add_peer(peer):
|
||||
|
||||
if peer in list_adders():
|
||||
|
|
|
@ -35,7 +35,7 @@ let deleteNavbar = function(){
|
|||
navbarLinks[x].style.display = 'none'
|
||||
}
|
||||
}
|
||||
if (disabled.includes('flow')){
|
||||
if (disabled.includes('circles')){
|
||||
if (navbarLinks[x].innerText == 'Circles'){
|
||||
navbarLinks[x].style.display = 'none'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue