Skip to content

Commit

Permalink
Rename accessDeniedHelpUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Jun 19, 2023
1 parent 07a4e5a commit c5dd5e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions packages/web-runtime/src/pages/accessDenied.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<h2 class="oc-login-card-title" v-text="cardTitle" />
<p v-text="cardHint" />
<oc-button
v-if="loggedOutHelpUrl"
v-if="accessDeniedHelpUrl"
type="a"
appearance="raw"
:href="loggedOutHelpUrl"
:href="accessDeniedHelpUrl"
target="_blank"
><span v-text="$gettext('More')"
/></oc-button>
Expand Down Expand Up @@ -48,10 +48,10 @@ export default defineComponent({
return store.getters.configuration.currentTheme.logo.login
})
const loggedOutHelpUrl = computed(() => {
const accessDeniedHelpUrl = computed(() => {
return (
store.getters.configuration.commonTheme.loggedOutHelpUrl ||
store.getters.configuration.options.loggedOutHelpUrl
store.getters.configuration.commonTheme.accessDeniedHelpUrl ||
store.getters.configuration.options.accessDeniedHelpUrl
)
})
const cardTitle = computed(() => {
Expand All @@ -75,7 +75,7 @@ export default defineComponent({
cardHint,
footerSlogan,
navigateToLoginText,
loggedOutHelpUrl
accessDeniedHelpUrl
}
}
})
Expand Down
4 changes: 2 additions & 2 deletions packages/web-runtime/src/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const state = {
name: '',
solgan: '',
logo: '',
loggedOutHelpUrl: ''
accessDeniedHelpUrl: ''
},
currentTheme: {
general: {
Expand Down Expand Up @@ -65,7 +65,7 @@ const state = {
cernFeatures: false,
sharingRecipientsPerPage: 200,
contextHelpersReadMore: true,
loggedOutHelpUrl: ''
accessDeniedHelpUrl: ''
}
}

Expand Down

0 comments on commit c5dd5e0

Please sign in to comment.