From: Jukka Kurkela Date: Wed, 17 Feb 2021 20:29:12 +0000 (+0200) Subject: Fix controller specific animations (#8444) X-Git-Tag: v3.0.0-beta.11~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8ecf8bae5cb88f94c9efad26a91a916a3192fa1;p=thirdparty%2FChart.js.git Fix controller specific animations (#8444) --- diff --git a/src/core/core.config.js b/src/core/core.config.js index d30ed3296..8a47782c9 100644 --- a/src/core/core.config.js +++ b/src/core/core.config.js @@ -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' ]);