From d4cb4c560e7919e6719bc40efa4c9e98909bd035 Mon Sep 17 00:00:00 2001 From: mcampourcy Date: Tue, 19 Nov 2024 15:28:42 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20admin:=20Add=20PixIcon=20f?= =?UTF-8?q?or=20common=20responsive=20mobile=20or=20tablet=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/tubes-details/tube.gjs | 20 ++++++++++--------- .../common/tubes-selection/tube.gjs | 20 ++++++++++--------- .../components/common/tubes-selection.scss | 13 +++++------- .../styles/components/layout/menu-bar.scss | 6 +++--- 4 files changed, 30 insertions(+), 29 deletions(-) diff --git a/admin/app/components/common/tubes-details/tube.gjs b/admin/app/components/common/tubes-details/tube.gjs index ea7b63f85cc..a43e44128a5 100644 --- a/admin/app/components/common/tubes-details/tube.gjs +++ b/admin/app/components/common/tubes-details/tube.gjs @@ -1,4 +1,4 @@ -import FaIcon from '@fortawesome/ember-fontawesome/components/fa-icon'; +import PixIcon from '@1024pix/pix-ui/components/pix-icon'; import Component from '@glimmer/component'; import { tracked } from '@glimmer/tracking'; @@ -17,6 +17,14 @@ export default class Tube extends Component { } } + get mobileIcon() { + return this.args.mobile ? 'mobile' : 'mobileOff'; + } + + get tabletIcon() { + return this.args.tablet ? 'tablet' : 'tabletOff'; + } +