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

Commit 94278dd

Browse files
committed
fixup
1 parent 5e71dd5 commit 94278dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/javascripts/discourse/components/ai-tool-selector.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import { computed, observer } from "@ember/object";
1+
import { observer } from "@ember/object";
2+
import { readOnly } from "@ember/object/computed";
23
import MultiSelectComponent from "select-kit/components/multi-select";
34

45
export default MultiSelectComponent.extend({
56
_modelDisabledChanged: observer("attrs.disabled", function () {
67
this.selectKit.options.set("disabled", this.get("attrs.disabled.value"));
78
}),
89

9-
content: computed.reads("tools"),
10+
content: readOnly("tools"),
1011

1112
value: "",
1213

0 commit comments

Comments
 (0)