refactor(gui): update eslint rules

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
Pranav C
2021-07-19 16:40:49 +05:30
parent fa00be39b8
commit 59f55e4595
249 changed files with 2358 additions and 2353 deletions

View File

@@ -95,15 +95,15 @@ export default {
data: null
}),
computed: {
roles () {
roles() {
return this.data ? Object.keys(this.data) : []
}
},
async created () {
async created() {
await this.loadAcl()
},
methods: {
async loadAcl () {
async loadAcl() {
this.loading = true
const result = await this.$store.dispatch('sqlMgr/ActSqlOp', [{
env: this.nodes.env,
@@ -115,7 +115,7 @@ export default {
this.loading = false
},
async save () {
async save() {
try {
await this.$store.dispatch('sqlMgr/ActSqlOp', [{
env: this.nodes.env,