Skip to content

Commit

Permalink
Update facility settings link display for Learn Only Device users
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHarris360 committed May 1, 2024
1 parent ea1d1a0 commit 4800313
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']),
pageTitle() {
return this.deviceString('deviceManagementTitle');
Expand Down

0 comments on commit 4800313

Please sign in to comment.