fix: use teams internal_id rather than id (#7113)

* fix: use teams internal_id rather than id

* npm check

* ee ref
This commit is contained in:
Alexander Petric
2025-11-11 14:08:10 -05:00
committed by GitHub
parent f5526ed967
commit da102a11db
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
c5bc9392a6cb6d8c29d0fed64365cec8af7f4fa9
a12be19d3f500146b425c163248dc824688e0b24
@@ -141,7 +141,10 @@
bind:selectedTeam
minWidth="180px"
disabled={!$enterpriseLicense}
onError={(e) => sendUserToast('Failed to load teams: ' + e.message, true)}
onError={(e) => {
const errorMsg = typeof (e as any)?.body === 'string' ? (e as any).body : (e?.message || 'Unknown error')
sendUserToast('Failed to load teams: ' + errorMsg, true)
}}
/>
{/if}
{:else}