@autobusal/admin-agents 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Manage.tsx +3 -3
- package/package.json +1 -1
package/Manage.tsx
CHANGED
|
@@ -359,10 +359,10 @@ const Manage = ({ url, t }: Props): JSX.Element => {
|
|
|
359
359
|
{ /* Claude - 2026-09-24: enabling drafts the welcome email too, for the
|
|
360
360
|
admin to read and send or drop; a regenerated key shows alone */ }
|
|
361
361
|
{ revealToken && (revealToken.welcome ? (
|
|
362
|
-
<WelcomeModal agentId={ id } token={ revealToken.token } draft={ revealToken.welcome } t={ t } onClose={ () => setRevealToken(null) } />
|
|
363
|
-
) : (
|
|
362
|
+
<WelcomeModal agentId={ id } kind={ revealToken.kind } token={ revealToken.token } draft={ revealToken.welcome } t={ t } onClose={ () => setRevealToken(null) } />
|
|
363
|
+
) : revealToken.token ? (
|
|
364
364
|
<TokenRevealModal token={ revealToken.token } t={ t } onClose={ () => setRevealToken(null) } />
|
|
365
|
-
)) }
|
|
365
|
+
) : null) }
|
|
366
366
|
</Meta>
|
|
367
367
|
);
|
|
368
368
|
};
|