Skip to content

Commit

Permalink
WIP there are fases for add publication
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Aug 7, 2024
1 parent 10d6344 commit 7f359e1
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/modals/publication/AddPublicationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { navigationStore, publicationStore } from '../../store/store.js'
</div>
<!-- STAGE 2 -->
<div v-if="catalogi?.value?.id && !metaData?.value?.id">
<NcButton @click="catalogi = {}">
<NcButton @click="catalogi.value = null">
Terug naar Catalogi
</NcButton>
<NcSelect v-bind="metaData"
Expand All @@ -44,8 +44,8 @@ import { navigationStore, publicationStore } from '../../store/store.js'
</div>
<!-- STAGE 3 -->
<div v-if="catalogi.value?.id && metaData.value?.id">
<NcButton @click="catalogi = {}">
Terug naar Catalogi
<NcButton @click="metaData.value = null">
Terug naar Metadata
</NcButton>
<NcTextField :disabled="loading"
label="Titel *"
Expand All @@ -68,17 +68,11 @@ import { navigationStore, publicationStore } from '../../store/store.js'
label="Portaal"
:value.sync="publication.portal" />
<span>
<p>Published</p>
<p>Publicatie datum</p>
<NcDateTimePicker v-model="publication.published"
:disabled="loading"
label="Publicatie datum" />
</span>
<span>
<p>Modified</p>
<NcDateTimePicker v-model="publication.modified"
:disabled="loading"
label="Modified" />
</span>
<span class="APM-horizontal">
<NcCheckboxRadioSwitch :disabled="loading"
label="Featured"
Expand Down Expand Up @@ -147,7 +141,6 @@ export default {
description: '',
reference: '',
license: '',
modified: new Date(),
featured: false,
portal: '',
category: '',
Expand Down Expand Up @@ -282,7 +275,6 @@ export default {
description: '',
reference: '',
license: '',
modified: new Date(),
featured: false,
portal: '',
category: '',
Expand Down

0 comments on commit 7f359e1

Please sign in to comment.