- Generazione della Raccolta dei Cataloghi (web e Stampa), e creazione del PDF Online.
- Lista Raccolta Cataloghi, aggiungi/togli catalogo.
This commit is contained in:
@@ -28,7 +28,12 @@ export const useCatalogStore = defineStore('CatalogStore', {
|
||||
catalogs: [{ _id: '', idapp: '', title: '' }]
|
||||
}),
|
||||
|
||||
getters: {},
|
||||
getters: {
|
||||
getCatalogById: (state) => (id: string) => {
|
||||
return state.catalogs.find((cat: ICatalog) => cat._id === id);
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user