- Aggiunta della copertina iniziale nelle raccolte (Catalogo Generale).
- Corretto altezza delle immagini che erano stretchate. - Fix: poter spostare l'ordinamento dei libri corretto.
This commit is contained in:
@@ -146,7 +146,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function riaggiornaListaProdAlGenitore() {
|
||||
aggiornaLista();
|
||||
aggiornaLista(false);
|
||||
}
|
||||
|
||||
const editOn = computed({
|
||||
@@ -996,15 +996,16 @@ export default defineComponent({
|
||||
persistent: false,
|
||||
})
|
||||
.onOk(() => {
|
||||
aggiornaLista(product);
|
||||
aggiornaLista(false, product);
|
||||
});
|
||||
};
|
||||
|
||||
function aggiornaLista(deleteelem: any = null) {
|
||||
function aggiornaLista(frominput: boolean, deleteelem: any = null) {
|
||||
const precsearch = searchText.value;
|
||||
|
||||
searchText.value = '';
|
||||
internalProducts.value = [...props.lista_prodotti];
|
||||
if (frominput)
|
||||
internalProducts.value = [...props.lista_prodotti];
|
||||
|
||||
if (deleteelem) {
|
||||
internalProducts.value = internalProducts.value.filter(
|
||||
@@ -1054,7 +1055,7 @@ export default defineComponent({
|
||||
// Funzione chiamata alla fine del drag-and-drop
|
||||
const onDragEnd = () => {
|
||||
// console.log("Nuovo ordine:", internalProducts.value);
|
||||
aggiornaLista();
|
||||
aggiornaLista(false);
|
||||
};
|
||||
|
||||
function formatAuthors(authors: IAuthor[] | undefined | null): string {
|
||||
@@ -1119,7 +1120,7 @@ export default defineComponent({
|
||||
return prod;
|
||||
});
|
||||
|
||||
aggiornaLista();
|
||||
aggiornaLista(false);
|
||||
}
|
||||
|
||||
async function updateproductmodif(element: any) {
|
||||
|
||||
Reference in New Issue
Block a user