frontend-plugin-api,catalog-react: remove default* prefix from blueprint params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ describe('SearchFilterBlueprint', () => {
|
||||
},
|
||||
factory(originalFactory, { inputs }) {
|
||||
return originalFactory({
|
||||
defaultPath: '/',
|
||||
path: '/',
|
||||
loader: async () => {
|
||||
const searchFilters = inputs.searchFilters.map(
|
||||
t => t.get(searchFilterDataRef).component,
|
||||
|
||||
@@ -77,7 +77,7 @@ describe('SearchFilterResultTypeBlueprint', () => {
|
||||
},
|
||||
factory(originalFactory, { inputs }) {
|
||||
return originalFactory({
|
||||
defaultPath: '/',
|
||||
path: '/',
|
||||
loader: async () => {
|
||||
const resultTypes = inputs.resultTypes.map(t =>
|
||||
t.get(searchResultTypeDataRef),
|
||||
|
||||
@@ -91,7 +91,7 @@ describe('SearchResultListItemBlueprint', () => {
|
||||
},
|
||||
factory(originalFactory, { inputs }) {
|
||||
return originalFactory({
|
||||
defaultPath: '/',
|
||||
path: '/',
|
||||
loader: async () => {
|
||||
const items = inputs.items.map(i =>
|
||||
i.get(searchResultListItemDataRef),
|
||||
|
||||
Reference in New Issue
Block a user