Skip to content

Commit 6e69e81

Browse files
author
Amit Shuster
committed
Merged PR 13585: Fix Q&A Sample question bug
Q&A Sample will not have default question after the recent change to url params
1 parent 966e280 commit 6e69e81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

demo/v2-demo/scripts/report.js

+4
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ function OpenEmbedMode(mode, entityType, tokenType)
370370
if (IsEmbeddingSampleQna())
371371
{
372372
LoadSampleQnaIntoSession().then(function (response) {
373+
if (!GetSession(SessionKeys.QnaQuestion)) {
374+
SetSession(SessionKeys.QnaQuestion, defaultQnaQuestion);
375+
}
376+
373377
LoadSettings();
374378
});
375379
}

0 commit comments

Comments
 (0)