diff --git a/module/ai/view/promptassignrole.html.php b/module/ai/view/promptassignrole.html.php index 22255868e2..abf6cb5d21 100644 --- a/module/ai/view/promptassignrole.html.php +++ b/module/ai/view/promptassignrole.html.php @@ -27,7 +27,7 @@

ai->prompts->assignRole;?>

- {$lang->ai->prompts->roleTemplate} " . " ", 'id="expandRoleTemplatePanel"', 'btn btn-info');?> + {$lang->ai->prompts->roleTemplate} " . " ", 'id="expandRoleTemplatePanel"', 'btn btn-info');?>
ai->prompts->model;?>
@@ -90,7 +90,7 @@ $(function () { { const roleTemplate = document.getElementById('roleTemplate'); const isPanelExpanded = roleTemplate.style.display === 'block'; - expandRoleTemplatePanel.querySelector('icon').className = isPanelExpanded ? 'icon icon-chevron-left' : 'icon icon-chevron-right'; + expandRoleTemplatePanel.querySelector('icon').className = isPanelExpanded ? 'icon icon-first-page' : 'icon icon-last-page'; if(roleTemplate) { roleTemplate.style.display = isPanelExpanded ? 'none' : 'block';