Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit a580ecd

Browse files
committed
fix broken system spec
1 parent 7e7540f commit a580ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/discourse/components/ai-llm-editor-form.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default class AiLlmEditorForm extends Component {
104104

105105
@action
106106
updateQuotaCount() {
107-
this.quotaCount = this.args.model.llm_quotas.length;
107+
this.quotaCount = this.args.model?.llm_quotas?.length || 0;
108108
}
109109

110110
@action

0 commit comments

Comments
 (0)