Skip to content

Commit bd2144d

Browse files
authored
fix(34994): Fix bug with the tag creation (#1055)
1 parent 8c96703 commit bd2144d

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

hivemq-edge-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lint:prettier:write": "prettier --write .",
1414
"lint:stylelint": "stylelint './src/**/*.css'",
1515
"lint:all": "eslint src --report-unused-disable-directives --max-warnings 0 && prettier --check .",
16-
"dev:openAPI": "openapi --input '../ext/hivemq-edge-openapi-2025.9-SNAPSHOT.yaml' -o ./src/api/__generated__ -c axios --name HiveMqClient --exportSchemas true",
16+
"dev:openAPI": "openapi --input '../ext/hivemq-edge-openapi-2025.12-SNAPSHOT.yaml' -o ./src/api/__generated__ -c axios --name HiveMqClient --exportSchemas true",
1717
"dev:chakra:types": "chakra-cli tokens './src/modules/Theme/themeHiveMQ.ts' --out 'node_modules/.pnpm/@[email protected]/node_modules/@chakra-ui/styled-system/dist/theming.types.d.ts'",
1818
"cypress:open": "cypress open",
1919
"cypress:open:component": "cypress open --component --browser chrome",

hivemq-edge-frontend/src/api/__generated__/services/ProtocolAdaptersService.ts

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/modules/ProtocolAdapters/utils/uiSchema.utils.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { CustomFormat } from '@/api/types/json-schema.ts'
2-
import { registerEntitySelectWidget } from '@/components/rjsf/Widgets/EntitySelectWidget.tsx'
31
import type { RegistryFieldsType, RegistryWidgetsType, UiSchema } from '@rjsf/utils'
42

53
import { CompactArrayField, MqttTransformationField } from '@/components/rjsf/Fields'
@@ -29,9 +27,6 @@ export const adapterJSFWidgets: RegistryWidgetsType = {
2927
// @ts-ignore [24369] Turn discovery browser off (and replace by regular text input)
3028
'discovery:tagBrowser': 'text',
3129
'application/schema+json': JSONSchemaEditor,
32-
'mqtt-tag': registerEntitySelectWidget(CustomFormat.MQTT_TAG),
33-
'mqtt-topic-filter': registerEntitySelectWidget(CustomFormat.MQTT_TOPIC_FILTER),
34-
'mqtt-topic': registerEntitySelectWidget(CustomFormat.MQTT_TOPIC),
3530
}
3631

3732
export const adapterJSFFields: RegistryFieldsType = {

0 commit comments

Comments
 (0)