style: apply prettier formatting
This commit is contained in:
@@ -252,7 +252,9 @@ export class ProductDetailComponent {
|
|||||||
this.setSelectedImageAssetId(null);
|
this.setSelectedImageAssetId(null);
|
||||||
this.modelFile.set(null);
|
this.modelFile.set(null);
|
||||||
const isNotFound = error?.status === 404;
|
const isNotFound = error?.status === 404;
|
||||||
this.error.set(isNotFound ? 'SHOP.NOT_FOUND' : 'SHOP.LOAD_ERROR');
|
this.error.set(
|
||||||
|
isNotFound ? 'SHOP.NOT_FOUND' : 'SHOP.LOAD_ERROR',
|
||||||
|
);
|
||||||
this.setResponseStatus(isNotFound ? 404 : 503);
|
this.setResponseStatus(isNotFound ? 404 : 503);
|
||||||
if (this.shouldApplyFallbackSeo(error)) {
|
if (this.shouldApplyFallbackSeo(error)) {
|
||||||
this.applyFallbackSeo();
|
this.applyFallbackSeo();
|
||||||
|
|||||||
Reference in New Issue
Block a user