lint fixes

This commit is contained in:
Ulf Gebhardt 2021-02-26 00:44:41 +01:00
parent 1960ce109c
commit c40b085b3d
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
10 changed files with 14 additions and 13 deletions

View File

@ -13,7 +13,6 @@
<td <td
v-for="(column, index) in columns" v-for="(column, index) in columns"
:key="index" :key="index"
v-if="hasValue(item, column)"
> >
{{ itemValue(item, column) }} {{ itemValue(item, column) }}
</td> </td>

View File

@ -66,6 +66,7 @@
if (this.inline) { if (this.inline) {
return `form-check-inline`; return `form-check-inline`;
} }
return ''
} }
}, },
created() { created() {

View File

@ -116,6 +116,7 @@ export default {
let words = this.link.name.split(' '); let words = this.link.name.split(' ');
return words.map(word => word.substring(0, 1)).join(''); return words.map(word => word.substring(0, 1)).join('');
} }
return ''
}, },
isMenu() { isMenu() {
return this.children.length > 0 || this.menu === true; return this.children.length > 0 || this.menu === true;

View File

@ -232,12 +232,12 @@
components: { components: {
LineChart, LineChart,
BarChart, BarChart,
BaseProgress, //BaseProgress,
StatsCard, StatsCard,
PageVisitsTable, //PageVisitsTable,
AdminUserSearch, AdminUserSearch,
AdminUserCreation, AdminUserCreation,
SearchUser //SearchUser
}, },
data() { data() {
return { return {

View File

@ -153,7 +153,7 @@
components: { components: {
LineChart, LineChart,
BarChart, BarChart,
BaseProgress, //BaseProgress,
StatsCard, StatsCard,
PageVisitsTable, PageVisitsTable,
SocialTrafficTable SocialTrafficTable

View File

@ -79,7 +79,7 @@
GddTable, GddTable,
GddAddWork, GddAddWork,
GddWorkTable, GddWorkTable,
axios //axios
}, },
methods: { methods: {
UserData() { UserData() {

View File

@ -98,7 +98,7 @@
components: { components: {
DashboardNavbar, DashboardNavbar,
ContentFooter, ContentFooter,
DashboardContent, //DashboardContent,
FadeTransition FadeTransition
}, },
methods: { methods: {

View File

@ -45,8 +45,8 @@
export default { export default {
components: { components: {
BaseNav, //BaseNav,
ZoomCenterTransition //ZoomCenterTransition
}, },
props: { props: {
backgroundColor: { backgroundColor: {

View File

@ -2,7 +2,7 @@
<div class="wrapper"> <div class="wrapper">
<notifications></notifications> <notifications></notifications>
<side-bar> <side-bar>
<template slot-scope="props" slot="links"> <template slot-scope="" slot="links">
<sidebar-item <sidebar-item
:link="{ :link="{
name: 'Dashboards', name: 'Dashboards',
@ -56,7 +56,7 @@ export default {
components: { components: {
DashboardNavbar, DashboardNavbar,
ContentFooter, ContentFooter,
DashboardContent, //DashboardContent,
FadeTransition, FadeTransition,
}, },
methods: { methods: {

View File

@ -90,9 +90,9 @@
export default { export default {
components: { components: {
CollapseTransition, //CollapseTransition,
BaseNav, BaseNav,
Modal //Modal
}, },
computed: { computed: {
routeName() { routeName() {