Merge branch 'dev'
This commit is contained in:
commit
20d472a94b
|
|
@ -935,6 +935,8 @@ export function renderShell(opts: ShellOptions): string {
|
|||
} else {
|
||||
window.location.href = window.__rspaceNavUrl(spaceSlug, moduleId);
|
||||
}
|
||||
}).catch(() => {
|
||||
window.location.href = window.__rspaceNavUrl(spaceSlug, moduleId);
|
||||
});
|
||||
} else {
|
||||
window.location.href = window.__rspaceNavUrl(spaceSlug, moduleId);
|
||||
|
|
@ -956,6 +958,8 @@ export function renderShell(opts: ShellOptions): string {
|
|||
} else {
|
||||
window.location.href = window.__rspaceNavUrl(spaceSlug, moduleId);
|
||||
}
|
||||
}).catch(() => {
|
||||
window.location.href = window.__rspaceNavUrl(spaceSlug, moduleId);
|
||||
});
|
||||
} else {
|
||||
window.location.href = window.__rspaceNavUrl(spaceSlug, moduleId);
|
||||
|
|
|
|||
|
|
@ -192,7 +192,9 @@ export class TabCache {
|
|||
app.appendChild(loadingPane);
|
||||
|
||||
try {
|
||||
const resp = await fetch(fetchUrl);
|
||||
const resp = await fetch(fetchUrl, {
|
||||
headers: { "Accept": "text/html" },
|
||||
});
|
||||
if (!resp.ok) {
|
||||
loadingPane.remove();
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue