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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user