mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 06:41:14 +01:00
MatrixProduct remove left over debug output
This commit is contained in:
parent
a18038c326
commit
ba18467d33
@ -11,6 +11,7 @@ import Dialog from "primevue/dialog";
|
||||
import Dropdown from "primevue/dropdown";
|
||||
import {onMounted, ref} from "vue";
|
||||
import axios from "axios";
|
||||
import {AlertErrorHandler} from "@res/js/ajaxErrorHandler";
|
||||
|
||||
const props = defineProps({
|
||||
articleId: String,
|
||||
@ -28,7 +29,7 @@ onMounted(async () => {
|
||||
|
||||
async function save() {
|
||||
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')});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user