Skip to content

Commit

Permalink
added another button
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Aug 8, 2024
1 parent 87c7eed commit 386b160
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modals/catalogiMetadata/AddCatalogiMetadata.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { catalogiStore, navigationStore } from '../../store/store.js'
required />
</div>
<NcButton v-if="success === null"
:disabled="!catalogi.title || loading"
:disabled="!metaData.value?.value?.id || loading"
type="primary"
@click="addCatalogMetadata">
<template #icon>
Expand Down
6 changes: 6 additions & 0 deletions src/views/catalogi/CatalogiList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ import { catalogiStore, navigationStore } from '../../store/store.js'
</template>
Catalogus bekijken
</NcActionButton>
<NcActionButton @click="catalogiStore.setCatalogiItem(catalogus); navigationStore.setModal('addCatalogiMetadata')">
<template #icon>
<Plus :size="20" />
</template>
Metadata toevoegen
</NcActionButton>
<NcActionButton @click="catalogiStore.setCatalogiItem(catalogus); navigationStore.setDialog('deleteCatalog')">
<template #icon>
<Delete :size="20" />
Expand Down

0 comments on commit 386b160

Please sign in to comment.