Fix controller specific animations (#8444)

This commit is contained in:
Jukka Kurkela 2021-02-17 22:29:12 +02:00 committed by GitHub
parent c96c167074
commit d8ecf8bae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,12 @@ export default class Config {
*/
datasetScopeKeys(datasetType) {
return cachedKeys(datasetType,
() => [`datasets.${datasetType}`, `controllers.${datasetType}.datasets`, '']);
() => [
`datasets.${datasetType}`,
`controllers.${datasetType}`,
`controllers.${datasetType}.datasets`,
''
]);
}
/**
@ -186,6 +191,7 @@ export default class Config {
return cachedKeys(`${datasetType}.animation`,
() => [
`datasets.${datasetType}.animation`,
`controllers.${datasetType}.animation`,
`controllers.${datasetType}.datasets.animation`,
'animation'
]);