Skip to content

Commit 8aa6c7b

Browse files
author
Óscar Nájera
committed
fix host & service groups autocomplete
1 parent b8b55e2 commit 8aa6c7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/site.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@ export const HostGroupFilter = (props: EditorProps) => {
157157
};
158158

159159
const groupVS = {
160-
ident: 'opthostgroup',
160+
ident: 'allgroups',
161161
params: {
162+
group_type: "host",
162163
strict: true,
163164
host: get(props, 'query.context.opthostgroup.opthost_group', ''),
164165
context: props.query.context,
@@ -187,8 +188,9 @@ export const ServiceGroupFilter = (props: EditorProps) => {
187188
};
188189

189190
const groupVS = {
190-
ident: 'optservicegroup',
191+
ident: 'allgroups',
191192
params: {
193+
group_type: "service",
192194
strict: true,
193195
service: get(props, 'query.context.optservicegroup.optservice_group', ''),
194196
context: props.query.context,

0 commit comments

Comments
 (0)