Skip to content

Commit

Permalink
WIP: Site settings work
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhanson committed Apr 23, 2024
1 parent 6cdaf6c commit 5068515
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Container/AdminPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import HighlightsListPanel from '../ListPanel/highlights/HighlightsListPanel.vue
import ThemeForm from '@/components/Form/context/ThemeForm.vue';
import ActionPanel from '../ActionPanel/ActionPanel.vue';
import AnnouncementsListPanel from '../ListPanel/announcements/AnnouncementsListPanel.vue';
import OrcidSettingsForm from '@/components/Form/context/OrcidSettingsForm.vue';
export default {
name: 'AdminPage',
Expand All @@ -12,6 +13,7 @@ export default {
HighlightsListPanel,
AnnouncementsListPanel,
ThemeForm,
OrcidSettingsForm,
},
extends: Page,
data() {
Expand Down
1 change: 1 addition & 0 deletions src/components/Form/context/OrcidSettingsForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default {
* @param {String} localeKey Optional locale key for multilingual props
*/
fieldChanged: function (name, prop, value, localeKey) {
// TODO: This isn't actually working as the fields are properly required.
if (name === 'orcidEnabled') {
this.removeError('orcidApiType', localeKey);
this.removeError('orcidClientId', localeKey);
Expand Down

0 comments on commit 5068515

Please sign in to comment.