Skip to content

Commit c3b1976

Browse files
Revert change
1 parent 6c13efc commit c3b1976

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

nodes/widgets/ui_form.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const statestore = require('../store/state.js')
2-
const { appendTopic } = require('../utils/index.js')
32

43
module.exports = function (RED) {
54
function FormNode (config) {
@@ -13,7 +12,7 @@ module.exports = function (RED) {
1312

1413
const evts = {
1514
onAction: true,
16-
beforeSend: async function (msg) {
15+
beforeSend: function (msg) {
1716
if (msg.ui_update) {
1817
const update = msg.ui_update
1918
if (typeof update.label !== 'undefined') {
@@ -33,8 +32,6 @@ module.exports = function (RED) {
3332
statestore.set(group.getBase(), node, msg, 'dropdownOptions', update.dropdownOptions)
3433
}
3534
}
36-
37-
msg = await appendTopic(RED, config, node, msg)
3835
return msg
3936
}
4037
}

0 commit comments

Comments
 (0)