]> _ Git - pmi.git/commitdiff
wait #6368
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2023 09:19:47 +0000 (11:19 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 6 Oct 2023 09:19:47 +0000 (11:19 +0200)
resources/js/app.js

index 03a5e00bfe3dc06d7b9bcc4e73be72c31e46ee16..739190e92612ab86f7428873be5d89e3ec023ead 100644 (file)
@@ -101,10 +101,6 @@ const app = new Vue({
 
     mounted() {
         eventBus.$on('add-item', data => {
-            if (!this.statusConfig) {
-                alert('Configuration incomplète');
-                return;
-            }
             data.action = 'add';
             data.ref = data.ref !== "" ? data.ref : this.ref;
             data.price = data.price !== undefined ? data.price : this.price;