From b7c3bbc3d119e22bd4721d1b490649f4994db82b Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Fri, 18 Oct 2024 13:31:22 -0400 Subject: [PATCH] chore(edit-content): migrate using the new syntax and signals #30401 --- .../dot-nav-icon/dot-nav-icon.component.html | 11 ++--- .../dot-sub-nav/dot-sub-nav.component.html | 22 +++++----- .../dot-navigation.component.html | 22 +++++----- .../dot-navigation.component.ts | 41 ++++++++++--------- 4 files changed, 49 insertions(+), 47 deletions(-) diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-icon/dot-nav-icon.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-icon/dot-nav-icon.component.html index f15f79d2674a..364c908aa567 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-icon/dot-nav-icon.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-icon/dot-nav-icon.component.html @@ -1,8 +1,5 @@ - - +@if (isFaIcon(icon)) { + +} @else { - +} diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html index 69c29bc1cbc7..adfefe8bf208 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html @@ -1,12 +1,14 @@ diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html index 29d3a4f5155b..a937ae5f9e26 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html @@ -1,14 +1,14 @@ -