We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb80c7 commit e298007Copy full SHA for e298007
src/core.ts
@@ -58,7 +58,7 @@ export class Core extends Module {
58
const onFragmentRenderAssets = Core.__pageConfiguration.assets.filter(asset => {
59
if(asset.loadMethod === RESOURCE_LOADING_TYPE.ON_PAGE_RENDER && !asset.preLoaded) {
60
const fragment = Core.__pageConfiguration.fragments.find(fragment => fragment.name === asset.fragment);
61
- return fragment && fragment.attributes.if !== "true";
+ return fragment && fragment.attributes.if !== "false";
62
}
63
});
64
test/core.spec.ts
@@ -195,7 +195,7 @@ describe('Module - Core', () => {
195
fragments: [{
196
name: 'test',
197
attributes: {
198
- if: "true"
+ if: "false"
199
200
}],
201
page: 'page'
0 commit comments