🐛 Fixed cache invalidation header on theme override

closes #10920

- Fixed incorrect property name to correctly set cache invalidation header on theme override
This commit is contained in:
Rish 2019-07-17 18:41:16 +05:30
parent 46706646e3
commit 01ea872af2

View File

@ -61,8 +61,8 @@ module.exports = {
};
return themeService.storage.setFromZip(zip)
.then(({theme, themeOverriden}) => {
if (themeOverriden) {
.then(({theme, themeOverridden}) => {
if (themeOverridden) {
// CASE: clear cache
this.headers.cacheInvalidate = true;
}