File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed 
src/Azure.AISearch.WebApp/Pages Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1212        createApp ({ 
1313            setup () { 
1414                const  scenarios  =  ref (@Html .Raw (JsonSerializer .Serialize (Model .Scenarios , JsonConfiguration .DefaultJsonOptions ))); 
15-                 const  selectedScenario  =  ref (null ); 
15+                 // const selectedScenario = ref(null); 
16+                 //  mjh Set default 
17+                 const  selectedScenario  =  ref (scenarios .value .length  >=  6  ?  scenarios .value [5 ] :  null ); 
1618                const  searchRequest  =  ref (@Html .Raw (JsonSerializer .Serialize (Model .SearchRequest , JsonConfiguration .DefaultJsonOptions ))); 
17-                 var  settingsValue =  { showExplanation:  true  }; 
19+                 var  settingsValue =  { showExplanation:  false  }; 
1820                var  settingsValueStorage =  localStorage .getItem (' settings'  ); 
1921                if  (settingsValueStorage) { 
2022                    settingsValue =  JSON .parse (settingsValueStorage); 
Original file line number Diff line number Diff line change 44<head >
55    <meta  charset =" utf-8"   />
66    <meta  name =" viewport"   content =" width=device-width, initial-scale=1"   />
7-     <title >@ViewData ["Title"] - Azure  AI Search Lab</title >
7+     <title >@ViewData ["Title"] - PIA  AI Search Lab</title >
88    <
link  rel =
" stylesheet"   href =
" https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css"   integrity =
" sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"   crossorigin =
" anonymous" >
99    <
link  rel =
" stylesheet"   href =
" https://cdn.jsdelivr.net/npm/[email protected] /font/bootstrap-icons.css" >
1010    <link  rel =" stylesheet"   href =" ~/css/site.css"   asp-append-version =" true"   />
1515    <div  id =" app"  >
1616        <nav  class =" navbar navbar-expand-lg sticky-top border-bottom bg-body-tertiary"  >
1717            <div  class =" container"  >
18-                 <a  class =" navbar-brand"   asp-area =" "   asp-page =" /Index"  >Azure  AI Search Lab</a >
18+                 <a  class =" navbar-brand"   asp-area =" "   asp-page =" /Index"  >PIA  AI Search Lab</a >
1919                <button  class =" navbar-toggler"   type =" button"   data-bs-toggle =" collapse"   data-bs-target =" .navbar-collapse"   aria-controls =" navbarSupportedContent"   aria-expanded =" false"   aria-label =" Toggle navigation"  >
2020                    <span  class =" navbar-toggler-icon"  ></span >
2121                </button >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments