Skip to content

Commit

Permalink
(fix) Extension online / offline support should propagate to runtime …
Browse files Browse the repository at this point in the history
…configuration
  • Loading branch information
ibacher committed Sep 7, 2023
1 parent acc9a97 commit e47aa7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/framework/esm-extensions/src/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ function getAssignedExtensionsFromSlotData(
config: extensionConfig,
featureFlag: extension.featureFlag,
meta: extension.meta,
online: extension.online ?? true,
offline: extension.offline ?? false,
});
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/shell/esm-app-shell/src/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ supported, so the extension will not be loaded.`
order: extension.order,
moduleName: appName,
privileges: extension.privileges,
online: extension.online,
offline: extension.offline,
online: extension.online ?? true,
offline: extension.offline ?? false,
featureFlag: extension.featureFlag,
});

Expand Down

0 comments on commit e47aa7b

Please sign in to comment.