storybook-addon-sdc 0.24.8 → 0.24.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/preset.js +1 -1
  2. package/package.json +1 -1
package/dist/preset.js CHANGED
@@ -896,9 +896,9 @@ export function renderInline(template, context) {
896
896
  if (!name) {
897
897
  name = '_sdc_inline_' + (_sdcInlineSeq++);
898
898
  _sdcInlineNames[template] = name;
899
- loader.setTemplate(name, template);
900
899
  }
901
900
  try {
901
+ loader.setTemplate(name, template);
902
902
  return _sdcIconEnv.render(name, context || {});
903
903
  } catch (e) {
904
904
  console.error('[SDC] renderInline error:', e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-addon-sdc",
3
- "version": "0.24.8",
3
+ "version": "0.24.9",
4
4
  "description": "Drupal Single Directory Components as stories",
5
5
  "keywords": [
6
6
  "SDC",