refactor(permission): effectify PermissionNext + fix InstanceState ALS bug (#17511)

This commit is contained in:
Kit Langton
2026-03-14 14:28:00 -04:00
committed by GitHub
parent 689d9e14ea
commit f015154314
12 changed files with 805 additions and 264 deletions

View File

@@ -87,7 +87,7 @@ export namespace Permission {
result.push(item.info)
}
}
return result.sort((a, b) => a.id.localeCompare(b.id))
return result.sort((a, b) => String(a.id).localeCompare(String(b.id)))
}
export async function ask(input: {