Skip to content

Commit

Permalink
Merge pull request #12123 from LianaHarris360/update-facility-setting…
Browse files Browse the repository at this point in the history
…s-link-display

Update facility settings link display for Learn Only Device users
  • Loading branch information
LianaHarris360 authored May 7, 2024
2 parents cb98c94 + 763cb26 commit f10889b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<p>
{{ $tr('pageDescription') }}
<KExternalLink
v-if="!isMultiFacilitySuperuser && getFacilitySettingsPath()"
v-if="!isLearnerOnlyImport && !isMultiFacilitySuperuser && getFacilitySettingsPath()"
:text="$tr('facilitySettings')"
:href="getFacilitySettingsPath()"
/>
Expand Down Expand Up @@ -477,7 +477,7 @@
};
},
computed: {
...mapGetters(['isAppContext', 'isPageLoading', 'snackbarIsVisible']),
...mapGetters(['isAppContext', 'isPageLoading', 'snackbarIsVisible', 'isLearnerOnlyImport']),
...mapGetters('deviceInfo', ['isRemoteContent']),
InfoDescriptionColor() {
return {
Expand Down

0 comments on commit f10889b

Please sign in to comment.