Show category options if there's more than 1 category
This commit is contained in:
parent
9ac6502394
commit
3ed9b85db4
@ -290,7 +290,7 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
socket.on('add', function(servers) {
|
||||
if (Object.keys(publicConfig.categories).length > 0) {
|
||||
if (Object.keys(publicConfig.categories).length > 1) {
|
||||
$('#category-controller').css('display', 'block');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user