fix: remoteData helpEntries were not on the right format

Should be now an array (not guessing anymore).
This commit is contained in:
Yohan Boniface 2024-10-01 08:55:58 +02:00
parent 0a1d98b146
commit c2833987b7

View file

@ -716,7 +716,7 @@ export class DataLayer {
const remoteDataFields = [ const remoteDataFields = [
[ [
'options.remoteData.url', 'options.remoteData.url',
{ handler: 'Url', label: translate('Url'), helpEntries: 'formatURL' }, { handler: 'Url', label: translate('Url'), helpEntries: ['formatURL'] },
], ],
[ [
'options.remoteData.format', 'options.remoteData.format',
@ -729,7 +729,7 @@ export class DataLayer {
{ {
handler: 'Switch', handler: 'Switch',
label: translate('Dynamic'), label: translate('Dynamic'),
helpEntries: 'dynamicRemoteData', helpEntries: ['dynamicRemoteData'],
}, },
], ],
[ [
@ -746,7 +746,7 @@ export class DataLayer {
{ {
handler: 'Switch', handler: 'Switch',
label: translate('Proxy request'), label: translate('Proxy request'),
helpEntries: 'proxyRemoteData', helpEntries: ['proxyRemoteData'],
}, },
]) ])
remoteDataFields.push('options.remoteData.ttl') remoteDataFields.push('options.remoteData.ttl')