Commit 6f18232a authored by Janis Streib's avatar Janis Streib 🦉
Browse files

FIX: "undefined" in data field on v6 creation

parent 30a22bf0
Pipeline #144474 passed with stages
in 5 minutes and 59 seconds
......@@ -667,6 +667,9 @@ export default {
this.db_editor_function = 'create'
this.db_editor_old_data = {}
const recobj = this.record_types_by_name[record_type] || null
if (!data) {
data = ''
}
this.db_editor_presets = {
type: record_type,
data: data,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment