mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
fix(frontend): preserve compact scope and detail badge
This commit is contained in:
@@ -758,7 +758,9 @@ function handleRequestScopeChange(value: string) {
|
||||
}
|
||||
|
||||
function normalizeUnavailableSessionCompactionScope() {
|
||||
if (props.endpoints === undefined) return
|
||||
// An empty list is also used while endpoints are loading or after loading fails,
|
||||
// so it cannot prove that the existing scope is unsupported.
|
||||
if (!props.endpoints || props.endpoints.length === 0) return
|
||||
if (
|
||||
requestScopeValue.value === COMPACT_REQUEST_SCOPE_VALUE
|
||||
&& !sessionCompactionScopeAvailable.value
|
||||
|
||||
Reference in New Issue
Block a user