Skip to content

Commit 92802b1

Browse files
authored
Merge pull request #974 from WolframResearch/bugfix/455170
Bugfix: Fix unresolved template boxes for persona icons in preferences menu
2 parents 4928c54 + 6a3f337 commit 92802b1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

PacletInfo.wl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PacletObject[ <|
22
"Name" -> "Wolfram/Chatbook",
33
"PublisherID" -> "Wolfram",
4-
"Version" -> "2.0.0",
4+
"Version" -> "2.0.1",
55
"WolframVersion" -> "14.1+",
66
"Description" -> "Wolfram Notebooks + LLMs",
77
"License" -> "MIT",

Source/Chatbook/UI.wl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,6 +1647,7 @@ getPersonaMenuIcon[ icon_ ] := inlineChatbookExpressions @ icon;
16471647
(* If "Full" is specified, resolve TemplateBox icons into their literal
16481648
icon data, so that they will render correctly in places where the Chatbook.nb
16491649
stylesheet is not available. *)
1650+
getPersonaMenuIcon[ expr_, "Full" ] /; $VersionNumber < 14.2 := InlineTemplateBoxes @ getPersonaMenuIcon @ expr;
16501651
getPersonaMenuIcon[ expr_, "Full" ] := getPersonaMenuIcon @ expr;
16511652

16521653
(* ::**************************************************************************************************************:: *)

0 commit comments

Comments
 (0)