Skip to content

Commit b883627

Browse files
release: v1.2.2
### Bug Fixes - **Hyve Icon in Widgets**: Resolved an issue where the Hyve icon was not appearing in Widgets. - **Suggested Questions**: Fixed an issue preventing Suggested Questions from appearing as expected.
2 parents a06fb45 + 884ddc5 commit b883627

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

inc/Main.php

+4
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ public static function get_settings() {
233233
* @return void
234234
*/
235235
public function enqueue_assets() {
236+
if ( is_admin() || defined( 'REST_REQUEST' ) ) {
237+
return;
238+
}
239+
236240
$asset_file = include HYVE_LITE_PATH . '/build/frontend/frontend.asset.php';
237241

238242
wp_register_style(

src/frontend/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class App {
331331
const chatMessageBox = document.getElementById( 'hyve-message-box' );
332332

333333
let suggestions = [
334-
`<span>${ suggestions }</span>`
334+
`<span>${ strings.suggestions }</span>`
335335
];
336336

337337
filteredQuestions.forEach( question => {

0 commit comments

Comments
 (0)