File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/lib/commandCenter/panels Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1919 }
2020 });
2121
22+ let question = $input ;
23+
2224 const examples = [
2325 ' How to add platform in the console?' ,
2426 ' How can I manage users, permissions, and access control in Appwrite?' ,
140142 <div class =" content" >
141143 <div class =" u-flex u-gap-8 u-cross-center" >
142144 <div class ="avatar is-size-x-small" >{getInitials ($user .name )}</div >
143- <p class ="u-opacity-75" >{$input }</p >
145+ <p class ="u-opacity-75" >{question }</p >
144146 </div >
145147 <div class =" u-flex u-gap-8 u-margin-block-start-24" >
146148 <div class =" logo" >
193195 <form
194196 class =" input-text-wrapper u-width-full-line"
195197 style =" --amount-of-buttons: 1;"
196- on:submit |preventDefault ={handleSubmit }>
198+ on:submit |preventDefault ={(e ) => {
199+ question = $input ;
200+ handleSubmit (e );
201+ }}>
197202 <!-- svelte-ignore a11y-autofocus -->
198203 <input
199204 type =" text"
You can’t perform that action at this time.
0 commit comments