Skip to content

Commit 5068515

Browse files
committed
WIP: Site settings work
1 parent 6cdaf6c commit 5068515

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/components/Container/AdminPage.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import HighlightsListPanel from '../ListPanel/highlights/HighlightsListPanel.vue
44
import ThemeForm from '@/components/Form/context/ThemeForm.vue';
55
import ActionPanel from '../ActionPanel/ActionPanel.vue';
66
import AnnouncementsListPanel from '../ListPanel/announcements/AnnouncementsListPanel.vue';
7+
import OrcidSettingsForm from '@/components/Form/context/OrcidSettingsForm.vue';
78
89
export default {
910
name: 'AdminPage',
@@ -12,6 +13,7 @@ export default {
1213
HighlightsListPanel,
1314
AnnouncementsListPanel,
1415
ThemeForm,
16+
OrcidSettingsForm,
1517
},
1618
extends: Page,
1719
data() {

src/components/Form/context/OrcidSettingsForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default {
1515
* @param {String} localeKey Optional locale key for multilingual props
1616
*/
1717
fieldChanged: function (name, prop, value, localeKey) {
18+
// TODO: This isn't actually working as the fields are properly required.
1819
if (name === 'orcidEnabled') {
1920
this.removeError('orcidApiType', localeKey);
2021
this.removeError('orcidClientId', localeKey);

0 commit comments

Comments
 (0)