Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Composer/packages/client/src/TestController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const TestController: React.FC = () => {
const [error, setError] = useState({ title: '', message: '' });
const [luisPublishSucceed, setLuisPublishSucceed] = useState(true);
const botActionRef = useRef(null);
const { botName, botStatus, dialogs, toStartBot, luFiles, settings } = state;
const { botEndpoint, botName, botStatus, dialogs, toStartBot, luFiles, settings } = state;
const { connectBot, reloadBot, publishLuis, startBot } = actions;
const connected = botStatus === BotStatus.connected;

Expand Down Expand Up @@ -139,7 +139,7 @@ export const TestController: React.FC = () => {
}}
onClick={() =>
openInEmulator(
'http://localhost:3979/api/messages', // todo: this is broken botEndpoint || 'http://localhost:3979/api/messages',
botEndpoint || 'http://localhost:3979/api/messages',
settings.MicrosoftAppId && settings.MicrosoftAppPassword
? { MicrosoftAppId: settings.MicrosoftAppId, MicrosoftAppPassword: settings.MicrosoftAppPassword }
: { MicrosoftAppPassword: '', MicrosoftAppId: '' }
Expand Down