Fix undefined translation
| @@ -493,7 +493,7 @@ export class ReasoningHandler { | |||
| 493 | data = null; | 493 | data = null; |
| 494 | } | 494 | } |
| 495 | 495 | ||
| 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 | } |