fix catalog origin in board

This commit is contained in:
nklhrstv 2020-03-28 18:47:34 +02:00
parent 0e6e665e04
commit 7e73c4eb15

View file

@ -23,7 +23,7 @@ const mapBoardStateWithCtx = (board, ctx) => {
}
:
catalog_resource.content;
const origin = catalog_resource.origin = ctx.profile.addons.reduce((origin, addon) => {
const origin = ctx.profile.addons.reduce((origin, addon) => {
if (addon.transportUrl === catalog_resource.request.base) {
return typeof addon.manifest.name === 'string' && addon.manifest.name.length > 0 ?
addon.manifest.name