From e2fcb44d76473a8d97dc5c316af12d399ed71fd9 Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:53:43 -0400 Subject: [PATCH] Fleet UI: multiple unreleased and released bugs (#20951) --- frontend/components/Editor/Editor.tsx | 2 +- .../OSSettings/cards/CustomSettings/_styles.scss | 4 ++++ .../ProfileUploader/components/AddProfileModal/_styles.scss | 6 +++--- .../SoftwareTable/SoftwareTitlesTableConfig.tsx | 4 +++- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/frontend/components/Editor/Editor.tsx b/frontend/components/Editor/Editor.tsx index c9bd360508..e8f230e379 100644 --- a/frontend/components/Editor/Editor.tsx +++ b/frontend/components/Editor/Editor.tsx @@ -75,7 +75,7 @@ const Editor = ({ {labelText} diff --git a/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/_styles.scss b/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/_styles.scss index 81c563065c..14828cfb9d 100644 --- a/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/_styles.scss +++ b/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/_styles.scss @@ -99,6 +99,10 @@ flex-direction: column; align-items: center; gap: $pad-small; + + &--message { + text-align: center; + } } &__button-wrap { diff --git a/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/components/ProfileUploader/components/AddProfileModal/_styles.scss b/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/components/ProfileUploader/components/AddProfileModal/_styles.scss index 222268e7db..087e2a54d1 100644 --- a/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/components/ProfileUploader/components/AddProfileModal/_styles.scss +++ b/frontend/pages/ManageControlsPage/OSSettings/cards/CustomSettings/components/ProfileUploader/components/AddProfileModal/_styles.scss @@ -57,10 +57,10 @@ flex-direction: column; align-items: center; gap: $pad-small; - } - &__profile-graphic--message { - text-align: center; + &--message { + text-align: center; + } } &__button-wrap { diff --git a/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTable/SoftwareTitlesTableConfig.tsx b/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTable/SoftwareTitlesTableConfig.tsx index 213cc1ec46..ea31ff42d4 100644 --- a/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTable/SoftwareTitlesTableConfig.tsx +++ b/frontend/pages/SoftwarePage/SoftwareTitles/SoftwareTable/SoftwareTitlesTableConfig.tsx @@ -76,11 +76,13 @@ const getSoftwareNameCellData = ( iconUrl = app_store_app.icon_url; } + const isAllTeams = teamId === undefined; + return { name: softwareTitle.name, source: softwareTitle.source, path: softwareTitleDetailsPath, - hasPackage: hasPackage && !!teamId, + hasPackage: hasPackage && !isAllTeams, isSelfService, iconUrl, };