Skip to content

Commit d016898

Browse files
committed
1 parent 9e646ea commit d016898

File tree

1 file changed

+4
-0
lines changed
  • src/main/kotlin/com/github/mgramin/sqlboot/model/resourcetype

1 file changed

+4
-0
lines changed

src/main/kotlin/com/github/mgramin/sqlboot/model/resourcetype/Metadata.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,17 @@ data class Metadata(
6161
} else {
6262
this.type = "String"
6363
}
64+
if (!map.containsKey("visible")) {
65+
this.properties["visible"] = true
66+
}
6467
} catch (ignored: Exception) {
6568
this.properties.clear()
6669
val prop = HashMap<String, Any>()
6770
prop["key"] = name.replace("@", "")
6871
prop["label"] = name.replace("@", "")
6972
prop["description"] = description
7073
prop["type"] = type
74+
prop["visible"] = true
7175
this.properties.putAll(prop)
7276
}
7377
}

0 commit comments

Comments
 (0)