Web UI: Polling on tables

This commit is contained in:
Matthieu Hostache 2019-12-17 14:52:05 +01:00 committed by Traefiker Bot
parent 7f085df240
commit b3c9a50ead
20 changed files with 2028 additions and 361 deletions

View file

@ -1,5 +1,4 @@
import { Notify } from 'quasar'
import { APP } from './APP'
class Errors {
// Getters
@ -12,7 +11,7 @@ class Errors {
// ------------------------------------------------------------------------
static showError (body) {
body = APP._.isString(body) ? JSON.parse(body) : body
body = typeof body === 'string' ? JSON.parse(body) : body
Notify.create({
color: 'negative',
position: 'top',