mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
refactor(editor): Fix typescript issues in composables and misc files (no-changelog) (#9583)
This commit is contained in:
@@ -431,11 +431,11 @@ export default defineComponent({
|
||||
: `$('${escapeMappingString(nodeName)}').item.binary`;
|
||||
|
||||
const binaryData = [];
|
||||
let binaryPropertyData = [];
|
||||
let binaryPropertyData: IVariableSelectorOption[] = [];
|
||||
|
||||
for (const dataPropertyName of Object.keys(outputData.binary!)) {
|
||||
for (const dataPropertyName of Object.keys(outputData.binary ?? {})) {
|
||||
binaryPropertyData = [];
|
||||
for (const propertyName in outputData.binary![dataPropertyName]) {
|
||||
for (const propertyName in outputData.binary?.[dataPropertyName]) {
|
||||
if (propertyName === 'data') {
|
||||
continue;
|
||||
}
|
||||
@@ -448,7 +448,7 @@ export default defineComponent({
|
||||
binaryPropertyData.push({
|
||||
name: propertyName,
|
||||
key: `${binaryPropertyPrefix}.${dataPropertyName}.${propertyName}`,
|
||||
value: outputData.binary![dataPropertyName][propertyName],
|
||||
value: outputData.binary?.[dataPropertyName][propertyName]?.toString(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user