add frontend angular
This commit is contained in:
parent
f34a5f0a83
commit
070e8435d8
36 changed files with 10209 additions and 6 deletions
|
@ -1020,7 +1020,7 @@ class DemoMainResource:
|
|||
const userInfoPanel = document.getElementById('user-info-panel');
|
||||
|
||||
// Only show the panel if the user has a username or points
|
||||
if (username || points) {
|
||||
if ((username || points) && userInfoPanel) {
|
||||
userInfoPanel.style.display = 'block';
|
||||
|
||||
// Update username display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue