MatrixProduct remove left over debug output

This commit is contained in:
Andreas Palm 2024-04-15 22:13:58 +02:00
parent a18038c326
commit ba18467d33

View File

@ -11,6 +11,7 @@ import Dialog from "primevue/dialog";
import Dropdown from "primevue/dropdown"; import Dropdown from "primevue/dropdown";
import {onMounted, ref} from "vue"; import {onMounted, ref} from "vue";
import axios from "axios"; import axios from "axios";
import {AlertErrorHandler} from "@res/js/ajaxErrorHandler";
const props = defineProps({ const props = defineProps({
articleId: String, articleId: String,
@ -28,7 +29,7 @@ onMounted(async () => {
async function save() { async function save() {
await axios.post('index.php?module=matrixprodukt&action=artikel&cmd=variantsave', {...props, ...model.value}) await axios.post('index.php?module=matrixprodukt&action=artikel&cmd=variantsave', {...props, ...model.value})
.catch(error => alert(error.response.data)) .catch(AlertErrorHandler)
.then(() => {emit('save')}); .then(() => {emit('save')});
} }