mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): fix mapping bug when val is null (#3942)
This commit is contained in:
@@ -45,6 +45,10 @@ export default Vue.extend({
|
||||
},
|
||||
methods: {
|
||||
isSimple(data: unkown): boolean {
|
||||
if (data === null || data === undefined) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (typeof data === 'object' && Object.keys(data).length === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user