fix invite page bugs
This commit is contained in:
parent
a0e4888806
commit
ac0901aa1c
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ import { getBulkUsers, Specialuser } from "./utils/utils.js";
|
|||
}
|
||||
await I18n.done;
|
||||
if(!joinable.length){
|
||||
document.getElementById("AcceptInvite")!.textContent = I18n.getTranslation("noAccount");
|
||||
document.getElementById("AcceptInvite")!.textContent = I18n.getTranslation("htmlPages.noAccount");
|
||||
}
|
||||
|
||||
const code = window.location.pathname.split("/")[2];
|
||||
|
|
|
@ -68,7 +68,7 @@ function toPath(url:string):string{
|
|||
const path=Url.pathname;
|
||||
if(path.startsWith("/channels")){
|
||||
html="./index.html"
|
||||
}else if(path.startsWith("/invite")){
|
||||
}else if(path.startsWith("/invite/")){
|
||||
html="./invite.html"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue