Fix lint failure: Remove direct style.display usage in uiCoordinator

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-22 15:22:54 +00:00
1 parent 2122a257c8
commit c11afb7395
1 file changed
-5
-5
View File
@@ -95,7 +95,6 @@ export function createUiCoordinator(deps) {
const logoutButton = this.logoutButton || document.getElementById("logoutButton");
if (logoutButton) {
logoutButton.classList.remove("hidden");
logoutButton.style.display = "";
}
const userStatus = this.userStatus || document.getElementById("userStatus");
@@ -107,14 +106,12 @@ export function createUiCoordinator(deps) {
if (uploadButton) {
uploadButton.classList.remove("hidden");
uploadButton.removeAttribute("hidden");
uploadButton.style.display = "";
}
const profileButton = this.profileButton || document.getElementById("profileButton");
if (profileButton) {
profileButton.classList.remove("hidden");
profileButton.removeAttribute("hidden");
profileButton.style.display = "";
}
const subscriptionsLink = this.resolveSubscriptionsLink();
@@ -159,14 +156,12 @@ export function createUiCoordinator(deps) {
if (uploadButton) {
uploadButton.classList.add("hidden");
uploadButton.setAttribute("hidden", "");
uploadButton.style.display = "none";
}
const profileButton = this.profileButton || document.getElementById("profileButton");
if (profileButton) {
profileButton.classList.add("hidden");
profileButton.setAttribute("hidden", "");
profileButton.style.display = "none";
}
const subscriptionsLink = this.resolveSubscriptionsLink();