Skip to content

Commit f58f55e

Browse files
committed
convert template to full glimmer component
1 parent dbdbb49 commit f58f55e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed
Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
import Component from "@glimmer/component";
2+
import { service } from "@ember/service";
13
import ChatbotUserPreferences from "../../components/chatbot-user-preferences";
24

3-
<template>
4-
{{#if this.siteSettings.chatbot_enabled}}
5-
<ChatbotUserPreferences @model={{this.model}} />
6-
{{/if}}
7-
</template>
5+
export default class ChatbotUserPreferencesConnector extends Component {
6+
@service siteSettings;
7+
8+
<template>
9+
{{#if this.siteSettings.chatbot_enabled}}
10+
<ChatbotUserPreferences @model={{@model}} />
11+
{{/if}}
12+
</template>
13+
}

0 commit comments

Comments
 (0)