Skip to content

Commit 4b4638e

Browse files
UN0wenduynimble
authored andcommitted
fix: grafana 11.4
1 parent 84e132e commit 4b4638e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

build_and_start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
npm install
44
npm run build
55
mage -v
6-
docker-compose up --build --force-recreate
6+
docker compose up --build --force-recreate

src/datasource/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ export class BaseQuickwitDataSource
199199
.map(field_capability => {
200200
return {
201201
text: field_capability.field_name,
202-
value: fieldTypeMap[field_capability.type],
202+
type: fieldTypeMap[field_capability.type],
203203
}
204204
});
205205
const uniquefieldCapabilities = fieldCapabilities.filter((field_capability, index, self) =>
206206
index === self.findIndex((t) => (
207-
t.text === field_capability.text && t.value === field_capability.value
207+
t.text === field_capability.text && t.type === field_capability.type
208208
))
209209
).sort((a, b) => a.text.localeCompare(b.text));
210210
return uniquefieldCapabilities;

0 commit comments

Comments
 (0)