diff --git a/apps/server-asset-sg/src/app.logger.ts b/apps/server-asset-sg/src/app.logger.ts index e62702dd..bd5b924b 100644 --- a/apps/server-asset-sg/src/app.logger.ts +++ b/apps/server-asset-sg/src/app.logger.ts @@ -61,7 +61,6 @@ export class AppLogger implements LoggerService { output += level.color(`${message}`); } if (params.length !== 0 && !(params.length === 1 && params[0] === undefined)) { - console.log({ params }); output += ' ' + stringify(params, level); } if (message instanceof Error) { diff --git a/libs/asset-viewer/src/lib/state/asset-search/asset-search.effects.ts b/libs/asset-viewer/src/lib/state/asset-search/asset-search.effects.ts index d49513a9..b8ae789d 100644 --- a/libs/asset-viewer/src/lib/state/asset-search/asset-search.effects.ts +++ b/libs/asset-viewer/src/lib/state/asset-search/asset-search.effects.ts @@ -205,9 +205,10 @@ export class AssetSearchEffects { concatLatestFrom(() => [ this.store.select(selectAssetSearchQuery), this.store.select(selectCurrentAssetDetail), + this.queryParams$, ]), - switchMap(([_, query, assetDetail]) => { - const params: Params = { assetId: assetDetail?.assetId }; + switchMap(([_, query, assetDetail, queryParams]) => { + const params: Params = { assetId: assetDetail?.assetId ?? queryParams.assetId }; updatePlainParam(params, QUERY_PARAM_MAPPING.text, query.text); updateArrayParam( params,