This commit is contained in:
Mathium05 committed 2026-10-21 17:05:34 -05:00
1 parent d3ef07f60e
commit cafb3597a2
1 file changed
+6 -3
+6 -3
View File
@@ -1077,12 +1077,15 @@ export async function showusersettings(localuser: Localuser) {
const head = document.createElement("div");
head.classList.add("flexltr", "oauthWidgetHead");
const img = document.createElement("img");
img.src = localuser.info.cdn + "/app-icons/" + application.id + "/" + application.icon;
if (localuser.info.cdn) {
const img = document.createElement("img");
img.src = localuser.info.cdn + "/app-icons/" + application.id + "/" + application.icon;
head.append(img);
}
const title = document.createElement("h2");
title.textContent = application.name;
head.append(img, title);
head.append(title);
const permDesc = document.createElement("h4");
permDesc.textContent = I18n.oauth2.permDesc();