mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 07:34:43 +02:00
⚡ Improved validation warnings in JSON editor
This commit is contained in:
parent
e472d91102
commit
11291ae0e6
@ -193,7 +193,6 @@ export default {
|
|||||||
validationErrors(errors) {
|
validationErrors(errors) {
|
||||||
const errorMessages = [];
|
const errorMessages = [];
|
||||||
errors.forEach((error) => {
|
errors.forEach((error) => {
|
||||||
console.log(error);
|
|
||||||
switch (error.type) {
|
switch (error.type) {
|
||||||
case 'validation':
|
case 'validation':
|
||||||
errorMessages.push({
|
errorMessages.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user