From daaea326e2b043451d5498188e38fe76c9356979 Mon Sep 17 00:00:00 2001 From: Kamil Date: Fri, 9 Aug 2024 11:38:55 +0200 Subject: [PATCH] #66 - fix: code review fix 2 --- resources/js/Pages/Dashboard/Setting/Edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/Pages/Dashboard/Setting/Edit.vue b/resources/js/Pages/Dashboard/Setting/Edit.vue index f06783d..0666a81 100644 --- a/resources/js/Pages/Dashboard/Setting/Edit.vue +++ b/resources/js/Pages/Dashboard/Setting/Edit.vue @@ -37,7 +37,7 @@ function updateSettings() { function onFileSelected(event) { const file = event.target?.files[0] - if(file.size > 1024 * 1024) { + if (file.size > 1024 * 1024) { form.errors.logo = 'Plik nie może być większy niż 1MB' return