Fix undefined translation

b98556855d6cbf9b03f5ec04804f480a2a85264c

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/reasoning.js+1 -1
@@ -493,7 +493,7 @@ export class ReasoningHandler {
493 data = null;493 data = null;
494 }494 }
495495
496 if (this.type !== ReasoningType.Model) {496 if (this.type && this.type !== ReasoningType.Model) {
497 title += ` [${translate(this.type)}]`;497 title += ` [${translate(this.type)}]`;
498 title = title.trim();498 title = title.trim();
499 }499 }