Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m31s
Details
CI/CD / deploy (push) Successful in 2m31s
Details
This commit is contained in:
commit
8367b06df6
|
|
@ -923,6 +923,7 @@ export class RStackSpaceSwitcher extends HTMLElement {
|
|||
addBtn.disabled = true;
|
||||
setTimeout(() => { feedback.textContent = ""; }, 3000);
|
||||
this.#loadMembers(overlay, slug);
|
||||
this.#loadInvitations(overlay, slug);
|
||||
} else {
|
||||
const err = await res.json();
|
||||
feedback.textContent = err.error || "Failed to invite";
|
||||
|
|
@ -957,6 +958,7 @@ export class RStackSpaceSwitcher extends HTMLElement {
|
|||
emailFeedback.style.color = "#34d399";
|
||||
emailInput.value = "";
|
||||
setTimeout(() => { emailFeedback.textContent = ""; }, 3000);
|
||||
this.#loadInvitations(overlay, slug);
|
||||
} else {
|
||||
const err = await res.json().catch(() => ({ error: "Failed to invite" })) as { error?: string };
|
||||
emailFeedback.textContent = err.error || "Failed to invite";
|
||||
|
|
|
|||
Loading…
Reference in New Issue