From bf1e43fe989b25dccad5afa8c17ca95283b63ebc Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Tue, 23 Jul 2024 23:15:25 +0700 Subject: [PATCH] refactor service --- marketplace-ui/src/app/app.component.html | 4 ++-- marketplace-ui/src/app/app.component.ts | 16 +++++----------- .../src/app/cookie.management.service.ts | 14 +++++++++----- .../product-detail-version-action.component.ts | 2 +- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/marketplace-ui/src/app/app.component.html b/marketplace-ui/src/app/app.component.html index 86dd5834e..fa248498d 100644 --- a/marketplace-ui/src/app/app.component.html +++ b/marketplace-ui/src/app/app.component.html @@ -1,4 +1,4 @@ -@if(!isDesignerViewer()){ +@if(!cookieManagementService.isDesignerEnv()){
@@ -10,7 +10,7 @@
-@if(!isDesignerViewer()){ +@if(!cookieManagementService.isDesignerEnv()){