mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 08:26:58 +00:00
refactor(gui): linting
Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import axios from 'axios';
|
||||
import Vue from 'vue';
|
||||
|
||||
export const state = () => ({
|
||||
|
||||
/**
|
||||
@@ -14,24 +11,23 @@ export const state = () => ({
|
||||
url: `${process.env.NC_BACKEND_URL || 'http://localhost:8080'}/graphql`
|
||||
}]
|
||||
|
||||
});
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
|
||||
|
||||
MutListAdd(state, args) {
|
||||
state.list.unshift(args);
|
||||
if (state.list.length > 500) state.list.pop();
|
||||
MutListAdd (state, args) {
|
||||
state.list.unshift(args)
|
||||
if (state.list.length > 500) { state.list.pop() }
|
||||
},
|
||||
|
||||
MutListRemove(state, index) {
|
||||
state.list.splice(index, 1);
|
||||
MutListRemove (state, index) {
|
||||
state.list.splice(index, 1)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export const actions = {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
|
||||
|
||||
Reference in New Issue
Block a user