mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-27 22:34:17 +00:00
enable disabled features
This commit is contained in:
@@ -464,7 +464,7 @@ if (window.location.pathname.startsWith("/channels")) {
|
||||
},
|
||||
{
|
||||
//TODO re-enable this once polls is merged
|
||||
visible: () => false, //!!thisUser.channelfocus?.hasPermission("SEND_POLLS"),
|
||||
visible: () => !!thisUser?.focusChannel?.hasPermission("SEND_POLLS"),
|
||||
},
|
||||
);
|
||||
umenu.addButton(I18n.upload(), () => {
|
||||
|
||||
+11
-12
@@ -2777,21 +2777,20 @@ class Localuser {
|
||||
|
||||
connectionContainer.appendChild(container);
|
||||
});
|
||||
//TODO enable this once domain verification is ready within Harmony
|
||||
if (false as true) {
|
||||
const container = document.createElement("div");
|
||||
|
||||
const span = document.createElement("span");
|
||||
span.classList.add("conImg", "svgicon");
|
||||
span.style.setProperty("mask", `url("/icons/domain.svg")`);
|
||||
container.append(span);
|
||||
const container = document.createElement("div");
|
||||
|
||||
container.addEventListener("click", async () => {
|
||||
this.domainVerification();
|
||||
});
|
||||
const span = document.createElement("span");
|
||||
span.classList.add("conImg", "svgicon");
|
||||
span.style.setProperty("mask", `url("/icons/domain.svg")`);
|
||||
container.append(span);
|
||||
|
||||
container.addEventListener("click", async () => {
|
||||
this.domainVerification();
|
||||
});
|
||||
|
||||
connectionContainer.appendChild(container);
|
||||
|
||||
connectionContainer.appendChild(container);
|
||||
}
|
||||
serverConnections
|
||||
.filter((_) => actConMap.has(_))
|
||||
.forEach((_) => {
|
||||
|
||||
Reference in New Issue
Block a user