From bc909792bc67434ad8ed3a20fd5872a2afd83547 Mon Sep 17 00:00:00 2001 From: Maicol Battistini Date: Mon, 3 Jan 2022 12:23:04 +0100 Subject: [PATCH] =?UTF-8?q?impr:=20=F0=9F=9A=B8=20Non=20passare=20l'elenco?= =?UTF-8?q?=20dei=20model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/js/Models/Model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Models/Model.js b/resources/js/Models/Model.js index c0fb1e383..0c6fa1948 100644 --- a/resources/js/Models/Model.js +++ b/resources/js/Models/Model.js @@ -129,6 +129,6 @@ export default class Model extends BaseModel { istanza = new model(); } - return callback(istanza ?? model); + return callback(istanza); } }