diff --git a/app/Ninja/Intents/WebApp/NavigateToIntent.php b/app/Ninja/Intents/WebApp/NavigateToIntent.php index ddb123830ec0..08990eb2d7c3 100644 --- a/app/Ninja/Intents/WebApp/NavigateToIntent.php +++ b/app/Ninja/Intents/WebApp/NavigateToIntent.php @@ -14,6 +14,7 @@ class NavigateToIntent extends BaseIntent $map = [ 'report' => 'reports', + 'settings' => ACCOUNT_COMPANY_DETAILS, ]; if (isset($map[$location])) { diff --git a/resources/views/partials/speech_recognition.blade.php b/resources/views/partials/speech_recognition.blade.php index 903a9be74415..057c04a4928e 100644 --- a/resources/views/partials/speech_recognition.blade.php +++ b/resources/views/partials/speech_recognition.blade.php @@ -174,9 +174,9 @@ function onMicrophoneClick() { //$('#search').val('create new invoice for edgar a po number of 1234'); //$('#search').val('create a task for edgar'); - $('#search').val('go to localization'); - $('#search-form').submit(); - return; + //$('#search').val('go to settings'); + //$('#search-form').submit(); + //return; $('.fa-microphone').hide(); $('#search').val("{{ trans('texts.listening') }}");