Skip to content

Commit

Permalink
Merge pull request #1378 from FlowFuse/gayanSandamal-patch-1
Browse files Browse the repository at this point in the history
Ensure groupType has its default value
  • Loading branch information
Steve-Mcl authored Oct 10, 2024
2 parents bbe5ba2 + 8c8b0f3 commit f167e59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nodes/config/ui_group.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ module.exports = function (RED) {
RED.nodes.createNode(this, config)
const node = this

if (!config.groupType || typeof config.groupType === 'undefined') {
config.groupType = 'default'
}

const page = RED.nodes.getNode(config.page)

if (!('showTitle' in config)) {
Expand Down

0 comments on commit f167e59

Please sign in to comment.