test
This commit is contained in:
parent
926c1a43e0
commit
fbc0a78235
1 changed files with 3 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ const interfaceMod = {
|
|||
const getData = async (resource, index, customData, name) => {
|
||||
const capitalizedResource = resource[0].toUpperCase() + resource.slice(1)
|
||||
const result = {}
|
||||
console.log('GD', resource, index, customData, name)
|
||||
|
||||
if (customData) {
|
||||
result.nameUsed = 'custom' // custom data overrides name
|
||||
|
|
@ -333,6 +334,7 @@ const interfaceMod = {
|
|||
|
||||
if (result.nameUsed == null) {
|
||||
result.dataUsed = null
|
||||
console.log('GDR -', result)
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
@ -349,6 +351,7 @@ const interfaceMod = {
|
|||
}
|
||||
result.dataUsed = await fetchFunc()
|
||||
}
|
||||
console.log('GDR +', result)
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue